[linux-lvm] Converting my Root file system to LVM [lastquestion]
Steve Wray
steve.wray at the.net.nz
Wed May 23 22:24:28 UTC 2001
> From: linux-lvm-admin at sistina.com [mailto:linux-lvm-admin at sistina.com]On
> Behalf Of Rupert Heesom
[snip]
> What I'm finding now is that when I'm shutting the PC down, vgchange is
> complaining that it can't close the VG down because there's an active
> partition (something like that). I've had a look at the halt script,
> and I can't figure out exactly how umounting the LV & deactivating the
> VG would work.
>
> I put a tentative line right above the "/sbin/vgchange -an" saying
> "umount /dev/vg/root". However, if I'm unmounting root BEFORE
> deactivating the VG, then the system won't find the /sbin/vgchange util
> will it?
>
> I do have /boot/initrd-lvm-2.4.3.gz which is used at boot time. This
> ramdisk does have /sbin/vgchange in it (which you probably know). If
> root is unmounted when /sbin/vgchange is called, will the system use the
> ramdisk? If so, how does it know to use it? (I'm kinda new to
> figuring out how ramdisks work, I just follow instructions and they
> work!)
Hey thats a good point... maybe a halt-time ramdisk?
:)
[snip]
More information about the linux-lvm
mailing list