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

Mark van Walraven markv at wave.co.nz
Mon May 28 23:36:04 UTC 2001


On Mon, May 28, 2001 at 10:49:51AM +0000, Heinz J. Mauelshagen wrote:
> There is *no* problem avoiding "vgchange -an" *today* because nothing is written
> to disk running it.
> 
> The command tries to unload the LVM metadata from the kernel therefore
> deactivating VGs and the access to LVs which can't work unless *all* LVs of
> all VGs are closed (no FS mounted etc.).
> 
> However this might change in the future in regard that a metadata update might
> be necessary.

When/if you do this, please consider systems with root on LVM.  Building a
ramdisk and pivoting root to that seems clumsy at best.  Perhaps vgchange
could have an option to request a metadata flush, which is deferred until
the relevant volumes are closed?

Regards,

Mark.



More information about the linux-lvm mailing list