Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

No volume groups found at boot

25 views
Skip to first unread message

Jozsef Bakosi

unread,
May 24, 2005, 9:20:14 AM5/24/05
to
Hello,

I'm not sure if this is amd64-related, so please bear with me, I couldn't
find anything related with googling.

I have

LVM version: 2.01.04 (2005-02-09)
Library version: 1.01.00-ioctl (2005-01-17)
Driver version: 4.1.0

with two working volume groups on an AMD64 Athlon running kernel version
2.6.8 (root@backup) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Fri May 13
08:54:18 EDT 2005 with sarge.

The problem is that /etc/init.d/lvm doesn't find the volume groups at
boot, thus /etc/init.d/checkfs.sh (the next script) stops for
maintenance because it can't find the volumes.

The disks are SATA and all nicely recongized before the init-lvm script
starts (by enforcing the loading of their drivers in /etc/modules).

After boot, I can do "vgscan" and "vgchange -a y", finding the volumes no
problem and can mount them as well.

The strangest thing is when I insert a "/sbin/sulogin $CONSOLE" right
before

/sbin/vgscan $IGNORELOCKINGFAILURES $MKNODES || true
/sbin/vgchange -a y $IGNORELOCKINGFAILURES

in /etc/init.d/lvm and do vgscan and vgchange manually, it works fine.

So what is the difference between running a command from a script in
/etc/rcS.d/ and mannually from command line?

Jozsef

signature.asc
0 new messages