'vgscan' at boot-up

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

 



I'm using lvm2-2.00.15 and device-mapper-1.00.17 on a Slackware (x86)
system, with a 2.6.9 kernel and udev-026.  I've created a volume
group and a logical volume without any trouble, but the file system
I built on the volume won't mount at boot-up.  That's apparently
because the 'vgscan' program run from the system initialization
script does not find an volume groups.  After the system boots,
'vgscan' works fine.  I can get the file system mounted by putting

	/sbin/vgscan 2>/dev/null
	sleep 10
	/sbin/vgchange -ay
	/sbin/mount -a

in 'rc.local'.  Does anyone have a idea why 'vgscan' would fail
in the sytem initialization script, but succeed in 'rc.local'?

David S.

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux