Bug 65280 - LVM doesn't startup properly using lvm module
Summary: LVM doesn't startup properly using lvm module
Keywords:
Status: CLOSED DUPLICATE of bug 57563
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 7.3
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-05-21 12:18 UTC by ivan
Modified: 2014-03-17 02:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-05-30 13:20:18 UTC
Embargoed:


Attachments (Terms of Use)
patch to add the missing load of the lvm-mod module (632 bytes, patch)
2002-05-22 20:38 UTC, Gerd v. Egidy
no flags Details | Diff

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 ***


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