Problem with 2.2.11 / LVM 0.7 / DEVFS
Gang,
I just compiled 2.2.11 with LVM 0.7 and Devfs v99 and am running into an
odd problem. Whenever I issue a vgscan it simply doesn't see one of my VGs. It doesn't error out, and it doesn't display anything about my second VG in verbose mode. It saw a small test VG on my first disk, but not the VG on the second disk. I set up the entire second disk as an LVM disk (no partition table). I can see the /dev/hdX entries, and I can see the /dev/ide/hd/cXXX entries. If I reboot the machine without devfs, I can see and use the VG on the second disk just fine.
Anyone have any ideas?
Thanks,
Daniel
-Daniel ------------------------------------------ Daniel Whicker ([email protected])
Quoted 4 lines · Daniel Whicker
Gang,
I just compiled 2.2.11 with LVM 0.7 and Devfs v99 and am running into an
odd problem. Whenever I issue a vgscan it simply doesn't see one of my VGs. It doesn't error out, and it doesn't display anything about my second
This is becoming a very common FAQ. The problem is some code in one of the libraries that tries to be "smart" and not test devices that don't exist. The problem is, if you don't have exactly fifteen of the devices it wants to test, some valid devices can be skipped. Check the archives, there are several patches to remove this part of code.
Quoted 2 lines
/dev/ide/hd/cXXXentries. If I reboot the machine without devfs, I can see and use the VG on the second disk just fine.
Most likely because your non-devfs /dev has the required exactly-fifteen of everything.
Quoted 1 line
Anyone have any ideas?
I'd like to see a 0.8 real soon that fixes this, as the error is not very explanatory unless you've seen it before (or traced through the code before :))
Signature · 3 lines
Ryan Murray ([email protected], [email protected]) Software Designer, Glenayre Technologies Inc. The opinions expressed here are my own.