Bug 80443 - LVM2 not supported in rc.sysinit
LVM2 not supported in rc.sysinit
Product: Red Hat Raw Hide
Classification: Retired
Component: initscripts (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
Depends On:
Blocks: 79579 CambridgeTarget
  Show dependency treegraph
Reported: 2002-12-26 12:30 EST by Bernie Innocenti
Modified: 2014-03-16 22:33 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-28 15:04:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Bernie Innocenti 2002-12-26 12:30:19 EST
rc.sysinit contains the following code to initialize LVM volumes: 
 # LVM initialization 
 if [ -f /etc/lvmtab -a ! -e /proc/lvm ] ; then 
         modprobe lvm-mod >/dev/null 2>&1 
 if [ -e /proc/lvm -a -x /sbin/vgchange -a -f /etc/lvmtab ]; then 
         action $"Setting up Logical Volume Management:" /sbin/vgscan && /sbin/vgchange -a y 
This does _NOT_ work with LVM2's dm-mod which is included in latest RH kernels. 
I'm using this instead to activate LVM2 partitions: 
 modprobe dm-mod 
 if [ -x /sbin/vgchange -a -f /etc/lvmtab ]; then 
         action $"Setting up Logical Volume Management:" /sbin/vgscan && /sbin/vgchange -a y 
 I don't know how to detect wether the modprobe is really needed on the booting system.
Comment 1 Bill Nottingham 2005-04-28 15:04:37 EDT
This should be fixed as of now....

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