Bug 981439 - dracut fails to load lvm root
dracut fails to load lvm root
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: dracut (Show other bugs)
18
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: dracut-maint
Fedora Extras Quality Assurance
:
Depends On: 827651
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-04 13:05 EDT by Martin Sourada
Modified: 2013-07-04 13:18 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 827651
Environment:
Last Closed: 2013-07-04 13:18:46 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Martin Sourada 2013-07-04 13:05:15 EDT
+++ This bug was initially created as a clone of Bug #827651 +++

Description of problem:
Newer kernels fail to boot due to missing lvm in initramfs generated by dracut.

Working kernel:
# lsinitrd /boot/initramfs-3.7.9-201.fc18.i686.img  | grep lvm
-rw-r--r--   1 root     root           14 Feb 23 18:35 etc/ld.so.conf.d/llvm-i386.conf
drwxr-xr-x   2 root     root            0 Feb 23 18:35 etc/lvm
-rw-r--r--   1 root     root        36441 Feb 23 18:35 etc/lvm/lvm.conf
-rw-r--r--   1 root     root          776 Feb 23 18:35 etc/udev/rules.d/64-lvm.rules
-r-xr-xr-x   1 root     root         9660 Feb 23 18:35 usr/lib/device-mapper/libdevmapper-event-lvm2mirror.so
-r-xr-xr-x   1 root     root         9648 Feb 23 18:35 usr/lib/device-mapper/libdevmapper-event-lvm2raid.so
-r-xr-xr-x   1 root     root         9704 Feb 23 18:35 usr/lib/device-mapper/libdevmapper-event-lvm2snapshot.so
-r-xr-xr-x   1 root     root         9732 Feb 23 18:35 usr/lib/device-mapper/libdevmapper-event-lvm2thin.so
-rwxr-xr-x   1 root     root          587 Feb 23 18:35 usr/lib/dracut/hooks/cmdline/30-parse-lvm.sh
lrwxrwxrwx   1 root     root           46 Feb 23 18:35 usr/lib/libdevmapper-event-lvm2mirror.so -> device-mapper/libdevmapper-event-lvm2mirror.so
lrwxrwxrwx   1 root     root           44 Feb 23 18:35 usr/lib/libdevmapper-event-lvm2raid.so -> device-mapper/libdevmapper-event-lvm2raid.so
lrwxrwxrwx   1 root     root           48 Feb 23 18:35 usr/lib/libdevmapper-event-lvm2snapshot.so -> device-mapper/libdevmapper-event-lvm2snapshot.so
-rwxr-xr-x   1 root     root         9644 Feb 23 18:35 usr/lib/libdevmapper-event-lvm2.so.2.02
lrwxrwxrwx   1 root     root           44 Feb 23 18:35 usr/lib/libdevmapper-event-lvm2thin.so -> device-mapper/libdevmapper-event-lvm2thin.so
-rwxr-xr-x   1 root     root      1034344 Feb 23 18:35 usr/lib/liblvm2cmd.so.2.02
-r--r--r--   1 root     root         1277 Feb 23 18:35 usr/lib/udev/rules.d/11-dm-lvm.rules
-r-xr-xr-x   1 root     root      1066336 Feb 23 18:35 usr/sbin/lvm
-rwxr-xr-x   1 root     root         3596 Feb 23 18:35 usr/sbin/lvm_scan

Broken kernel:
# lsinitrd /boot/initramfs-3.9.6-200.fc18.i686.img  | grep lvm
-rw-r--r--   1 root     root           14 Jul  4 18:58 etc/ld.so.conf.d/llvm-i386.conf

Versions of the component:
dracut-024-25.git20130205.fc18.i686
dracut-024-18.git20130102.fc18.i686
Comment 1 Martin Sourada 2013-07-04 13:18:46 EDT
I apologize for the noise. I'm an idiot. After two hours of trying to fix this without success, 5 minutes after filing a bug I find lvm2 package was missing from my system... I'm sorry again for the false alarm.

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