All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Caulfield <caulfield@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Shutdown Probs
Date: Mon, 5 Feb 2001 11:32:58 +0000	[thread overview]
Message-ID: <20010205113258.B525@tykepenguin.com> (raw)
In-Reply-To: <3A7E57E8.4DBED014@qis-systemhaus.de>; from heinrichs@qis-systemhaus.de on Mon, Feb 05, 2001 at 08:36:08AM +0100

On Mon, Feb 05, 2001 at 08:36:08AM +0100, Dirk Heinrichs wrote:
> Hi there,
> 
> I'm using lvm-0.9.1-beta3 on RH7.0 with kernel 2.4.0 and devfs.
> Everything works fine so far, but I get strange messages on shutdown.
> 
> I placed "/sbin/vgchange -a n" in /etc/init.d/halt right after
> unmounting filesystems. But I get a message like "Cannot deactivate
> volume group with open logical volumes". I then added some
> "/sbin/lvchange -a n [LogicalVolumePath]" for each lv before the the
> vgchange call. Then I get some "operation not permitted on (open)
> logical volume" messages.

My guess is that something still has a file open on one of the LVs so
it can't be unmounted by umount -a. Put a ps -ef in the script just before the
lvchange and see if you can see anything.

patrick

      reply	other threads:[~2001-02-05 11:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-05  7:36 [linux-lvm] Shutdown Probs Dirk Heinrichs
2001-02-05 11:32 ` Patrick Caulfield [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010205113258.B525@tykepenguin.com \
    --to=caulfield@sistina.com \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.