[linux-lvm] why I can't find lvm VG after reboot

James Hawtin oolon at ankh.org
Wed Apr 3 06:53:02 UTC 2002

On Tue, 3 Apr 2001, netxiong wrote:

> I have setup a VG on a softraid system consist of 3 disks,I name the VG as lvmraid and make a ext2 file system on it,It can be mounted to a dirctory and work well,but after I reboot the system,I can't find the VG,the proc system also doesn't show it and I can't use vgremove to remove it.
> what is wrong with it,helllllllllllllllllllllp!!!this has troubled me for two days

Are the following two lines in your rc.sysinit?

Do that after you activate your raid.

# activating volume manager
vgchange -a y

When you shutdown you must....

vgchange -a n

do that just before
mount -n -o remount,ro /

More information about the linux-lvm mailing list