[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Shutdown Probs



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]