[Bug 838777] New: mdadm 3.3 does not scan IMSM RAID metadata anymore and makes the system unbootable with RAID on /
https://bugzilla.novell.com/show_bug.cgi?id=838777 https://bugzilla.novell.com/show_bug.cgi?id=838777#c0 Summary: mdadm 3.3 does not scan IMSM RAID metadata anymore and makes the system unbootable with RAID on / Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 4 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: lbeltrame@kde.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux) KHTML/4.11.60 (like Gecko) Konqueror/4.11 Since the update to mdadm 3.3 in Factory, in case a fake RAID is defined through Intel Matrix Storage Manager integrated in a motherboard, when booting mdadm will not scan the metadata (it will just start the metadata "device") thus the array will not be assembled and in case / is on the RAID, it will not boot (/dev/root search will time out). To boot, one would do: 1. Drop in the emergency shell 2. run mdadm -I /dev/md127 [or whatever is the device node with the metadata] 3. run mdadm --assemble --scan (partitions are populated) 4. exit the shell (and the system boots) For reference, here is /proc/mdstat: mdadm 3.2: cat /proc/mdstat Personalities : [raid1] [raid0] [raid10] [raid6] [raid5] [raid4] md126 : active raid1 sda[1] sdb[0] 488383488 blocks super external:/md127/0 [2/2] [UU] [===============>.....] resync = 76.8% (375204032/488383620) finish=47.2min speed=39888K/sec md127 : inactive sda[1](S) sdb[0](S) 5928 blocks super external:imsm mdadm 3.3 in emergency shell (copied from memory): md127 : inactive sda[1](S) sdb[0](S) 5928 blocks super external:imsm The kernel only reports that "/dev/md/imsm0 has been started" at boot. The issue is in mdadm 3.3 as reverting to 3.2 fixes the issue. Reproducible: Always Steps to Reproduce: 1. Boot system with mdadm 3.3 and Intel RAID on / Actual Results: Root device is not found (timeout + emergency shell). Expected Results: Root device should be found and mounted. System specifications: Asus Sabertooth Z77 motherboard with Intel Z77 chipset IMSM set as fake RAID over two 500 Gb drives, holding / and /home. -- 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=838777 https://bugzilla.novell.com/show_bug.cgi?id=838777#c FeiXiang Zhang <fxzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |nfbrown@suse.com |ovo.novell.com | -- 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=838777 https://bugzilla.novell.com/show_bug.cgi?id=838777#c1 Neil Brown <nfbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Neil Brown <nfbrown@suse.com> 2013-09-06 03:42:39 UTC --- Hmm.. that's not so good. It is almost certainly because /usr/lib/udev/rules.d/64-md-raid.rules was split up and renamed. You can probably "fix" it by editing /lib/mkinitrd/scripts/setup-udev.sh finding the line 64-md-raid.rules \ and replacing it with two lines: 63-md-raid-arrays.rules \ 64-md-raid-assembly.rules \ then running mkinitrd. I'll work out a proper fix and let you know when it is ready. Thanks for testing and reporting! -- 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=838777 https://bugzilla.novell.com/show_bug.cgi?id=838777#c2 Neil Brown <nfbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |lbeltrame@kde.org --- Comment #2 from Neil Brown <nfbrown@suse.com> 2013-09-06 04:17:02 UTC --- Alternately, please copy the attached file (below) to /lib/mkinitrd/scripts/setup-md.sh and run mkinitrd and reboot. This is what I'll be submitting if you confirm it fixes the problem. -- 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=838777 https://bugzilla.novell.com/show_bug.cgi?id=838777#c3 --- Comment #3 from Neil Brown <nfbrown@suse.com> 2013-09-06 04:17:49 UTC --- Created an attachment (id=556101) --> (http://bugzilla.novell.com/attachment.cgi?id=556101) Replacement /lib/mkintrd/scripts/setup-md.sh -- 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=838777 https://bugzilla.novell.com/show_bug.cgi?id=838777#c4 --- Comment #4 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-09-09 03:00:12 CEST --- This is an autogenerated message for OBS integration: This bug (838777) was mentioned in https://build.opensuse.org/request/show/197947 Factory / mdadm -- 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=838777 https://bugzilla.novell.com/show_bug.cgi?id=838777#c5 --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-09-18 21:00:11 CEST --- This is an autogenerated message for OBS integration: This bug (838777) was mentioned in https://build.opensuse.org/request/show/199653 Factory / mkinitrd -- 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=838777 https://bugzilla.novell.com/show_bug.cgi?id=838777#c6 Neil Brown <nfbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|lbeltrame@kde.org | Resolution| |FIXED --- Comment #6 from Neil Brown <nfbrown@suse.com> 2013-10-21 05:09:01 UTC --- This has been fixed in factory now - so closing. -- 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.
participants (1)
-
bugzilla_noreply@novell.com