This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 79018 - rc.sysinit fails to load volume groups
rc.sysinit fails to load volume groups
Status: CLOSED DUPLICATE of bug 77539
Product: Red Hat Linux
Classification: Retired
Component: lvm (Show other bugs)
7.3
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Stephen Tweedie
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-12-04 11:40 EST by Paul Witting
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-12-04 11:40:58 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Paul Witting 2002-12-04 11:40:51 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; H010818; .NET 
CLR 1.0.3705)

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):


How reproducible:
Always

Steps to Reproduce:
1. Create a vg, lv, then put a file system on it.
2. Enter the file system into /etc/fstab
3. Reboot
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 
not available) 

Expected Results:  Boot to normal runlevel

Additional info:

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.
Comment 1 Stephen Tweedie 2002-12-06 18:39:19 EST
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 ***

Note You need to log in before you can comment on or make changes to this bug.