Bug 65280

Summary: LVM doesn't startup properly using lvm module
Product: [Retired] Red Hat Linux Reporter: ivan
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED DUPLICATE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: high    
Version: 7.3CC: gerd, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-05-30 13:20:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch to add the missing load of the lvm-mod module none

Description ivan 2002-05-21 12:18:50 UTC
Description of Problem:

When using a kernel compiled with the lvm module (not lvm compiled 
in), the checks for /proc/lvm in rc.sysinit fail, and so any LVM 
volumes fail to startup (and so the box does not complete a normal boot).

(Giving LVM as an option for install would be cool ;^)


Version-Release number of selected component (if applicable):
initscripts-6.67-1

How Reproducible: Every time


Steps to Reproduce:
1. Use RedHat kernel
2. Create LVM volume group, logical partition
3. Create a filesystem on the LV, and mount it at boot (in fstab).

Actual Results:
Machine doesn't complete boot, as it can't mount the filesystem on 
the LV.

Expected Results:
The VG should have been started, and the filesystem should have 
been recognised and mounted at boot.

Additional Information:
It doesn't seem to sit in high-severity, but it is quite important 
as it means that machines setup in this way cannot complete a boot.

Comment 1 Gerd v. Egidy 2002-05-22 20:37:10 UTC
I've been hit by this bug too.

It is because the rc.sysinit script looks for an existing /proc/lvm directory
before activating the vg. But if lvm is not compiled into kernel but compiled as
module (as in the default kernel package) /proc/lvm is not there until lvm-mod
is loaded.

The attached patch fixes this problem.

Comment 2 Gerd v. Egidy 2002-05-22 20:38:36 UTC
Created attachment 58245 [details]
patch to add the missing load of the lvm-mod module

Comment 3 Eric Hopper 2002-05-30 13:20:12 UTC
This is a duplicate of Bug# 57563


Comment 4 Bill Nottingham 2002-06-12 07:10:01 UTC

*** This bug has been marked as a duplicate of 57563 ***