Re: 'vgscan' at boot-up

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

 



David S. wrote:

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/




What version of Slackware? I use LVM with 8.1 and 9.1. In 9.1 it should work 'out-of-the-box' in 8.1 I had to put the LVM mounting stuf my self. Did you put / on a logical volume? Is /proc mounted before you try to bring the volumes online (i remember I had to do that in 8.1)

Sander

_______________________________________________
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