Red Hat Bugzilla – Bug 79018
rc.sysinit fails to load volume groups
Last modified: 2007-04-18 12:48:51 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; H010818; .NET
Description of problem:
The condition check in rc.sysinit for LVM
if [ -e /proc/lvm -a -x /sbin/vgchange -a -f /etc/lvmtab ]; then
because at this point /proc/lvm fails the existance check. Removing this check
loads the volume groups properly
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a vg, lv, then put a file system on it.
2. Enter the file system into /etc/fstab
4. Boot fails and drops to single user mode because the disk is unavailable.
Actual Results: Boot fails to complete, leaves machine in single user mode
because mount -a fails. (Because LVM does not load, the volume in /etc/fstab is
Expected Results: Boot to normal runlevel
I believe that once in runlevel 1 (Single User Mode), the /proc/lvm directory
does exist, which makes troubleshooting the problem annoying.
Since this could cause a system to fail to boot, I'm classifying it as a "High"
bug, though I believe LVM is officially "not supported" the fact that the stock
rc.sysinit attempts to load it merits consideration.
It's not a bug, you need to have LVM in your initrd for the autostart to work.
*** This bug has been marked as a duplicate of 77539 ***