[Bug 662053] New: mkinitrd fails to recognize root on lvm on md
https://bugzilla.novell.com/show_bug.cgi?id=662053 https://bugzilla.novell.com/show_bug.cgi?id=662053#c0 Summary: mkinitrd fails to recognize root on lvm on md Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: conrad-novell.com@quisquis.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.11 SUSE/9.0.564.0 (KHTML, like Gecko) Chrome/9.0.564.0 Safari/534.11 On my system there's two LVM volume groups: "noraid" (lvm2) and "dflt" (lvm1). The latter is based on a raid1 md drive. My root dev resides on the "dflt" vg. For the last couple of weeks, the system failed to boot after the installation of kernel updates via "zypper up". Booting into an openSUSE-11.2 image on the same system and running mkinitrd there resolved the problem. Today I found the reason for the failure: /lib/mkinitrd/setup/31-lvm2.sh fails to recognize that my root dev resides on an md drive, therefore md support is not included in the initrd. This happens because my root dev resides on dev 253:2, and a couple of weeks ago I created my twentieth logical volume. The regexp used to determine the root's underlying volume group matches 253:20 (which is on the "noraid" vg), not 253:2! The attached patch fixes the problem for me. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=662053
https://bugzilla.novell.com/show_bug.cgi?id=662053#c1
--- Comment #1 from Peter Conrad
https://bugzilla.novell.com/show_bug.cgi?id=662053
https://bugzilla.novell.com/show_bug.cgi?id=662053#c
wei wang
https://bugzilla.novell.com/show_bug.cgi?id=662053
https://bugzilla.novell.com/show_bug.cgi?id=662053#c2
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=662053
https://bugzilla.novell.com/show_bug.cgi?id=662053#c
Xinwei Hu
https://bugzilla.novell.com/show_bug.cgi?id=662053
https://bugzilla.novell.com/show_bug.cgi?id=662053#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=662053
https://bugzilla.novell.com/show_bug.cgi?id=662053#c
Xinwei Hu
https://bugzilla.novell.com/show_bug.cgi?id=662053
https://bugzilla.novell.com/show_bug.cgi?id=662053#c4
Peter Conrad
https://bugzilla.novell.com/show_bug.cgi?id=662053
https://bugzilla.novell.com/show_bug.cgi?id=662053#c5
--- Comment #5 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=662053
https://bugzilla.novell.com/show_bug.cgi?id=662053#c6
--- Comment #6 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=662053
https://bugzilla.novell.com/show_bug.cgi?id=662053#c7
--- Comment #7 from Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=662053
https://bugzilla.novell.com/show_bug.cgi?id=662053#c8
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=662053
https://bugzilla.novell.com/show_bug.cgi?id=662053#c
dong mao zhang
https://bugzilla.novell.com/show_bug.cgi?id=662053
https://bugzilla.novell.com/show_bug.cgi?id=662053#c9
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=662053
https://bugzilla.novell.com/show_bug.cgi?id=662053#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=662053
https://bugzilla.novell.com/show_bug.cgi?id=662053#c10
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=662053
https://bugzilla.novell.com/show_bug.cgi?id=662053#c11
dong mao zhang
participants (1)
-
bugzilla_noreply@novell.com