[linux-lvm] Converting my Root file system to LVM [lastquestion]

Rupert Heesom raheesom at navpoint.com
Thu May 24 10:52:37 UTC 2001


On 24 May 2001 00:41:18 -0600, Andreas Dilger wrote:
> Steve Wray writes:
> Actually, I posted a similar question to linux-kernel, but I think it was
> lost in the noise.  Basically, it _is_ possible to have a "finitrd" for
> just this situation (at least on 2.4).  You unmount all but root, set up
> a ramfs, and pivot_root into the ramfs.  You can then unmount root (not
> just a read-only remount), and properly shutdown LVM/RAID/etc.  Haven't
> tried it myself, but it should work.
> 
> Note that LVM doesn't actually write anything to disk with "vgchange -an",
> so there is no real need to do this.  

I guess that's the answer I was looking for.... no real need to do a 
"vgchange -an" at shutdown.  I was sure that it was not healthy for LVM.
But if it doesn't matter, then I'll just take out the shutdown command.

BTW, if the VG _isn't_ shut down, what happens to it, ie it was active,
then it's suddenly activated again on bootup.  Doesn't sound like clean
functionality to me.

BTW, the finitrd sounds like a cool thing.  I think I'll stick with
simplicity right now (assuming it's safe).


-- 
regs
rupert




More information about the linux-lvm mailing list