Red Hat Bugzilla – Bug 65280
LVM doesn't startup properly using lvm module
Last modified: 2014-03-16 22:27:35 EDT
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):
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).
Machine doesn't complete boot, as it can't mount the filesystem on
The VG should have been started, and the filesystem should have
been recognised and mounted at boot.
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.
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
The attached patch fixes this problem.
Created attachment 58245 [details]
patch to add the missing load of the lvm-mod module
This is a duplicate of Bug# 57563
*** This bug has been marked as a duplicate of 57563 ***