[linux-lvm] 'vgscan' at boot-up

Sander sander at sanderscorner.com
Sat Nov 6 09:58:28 UTC 2004

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 at redhat.com
>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)


More information about the linux-lvm mailing list