[Bug 942106] Re: software raid doesn't assemble before mount on boot
Dmitrijs Ledkovs
launchpad at surgut.co.uk
Sat Aug 11 22:34:01 UTC 2012
@Doug Jones (djsdl)
This bug report is not meant to fix *all* issues with raid, with respect
to booting. Previously booting would drop into initramfs too quickly,
now we wait for udev events to be processed and then we drop to
initramfs. So this particular bug fix is fixing just this issue. You do
not describe dropping into initramfs & assembling arrays by hand, nor
having RAID on root. So I do not believe that you are solely affected by
this bug, but other bugs as well. So while not perfect, this -proposed
upgrade does not regress any further for you (e.g. some raids were not
assembled before, and still are not assembled), but it does improve the
situation for others.
Did you see https://wiki.ubuntu.com/ReliableRaid specification and bugs
linked from there? You may be familiar / affected by them.
I would be interested to see your setup, e.g. `$ sudo apport mdadm `
should create a bug with all relevant system info attached.
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/942106
Title:
software raid doesn't assemble before mount on boot
Status in “mdadm” package in Ubuntu:
Fix Released
Status in “update-manager” package in Ubuntu:
Fix Released
Status in “mdadm” source package in Precise:
Fix Committed
Status in “update-manager” source package in Precise:
Fix Released
Status in “mdadm” source package in Quantal:
Fix Released
Status in “update-manager” source package in Quantal:
Fix Released
Bug description:
[IMPACT]
* Due to small time-outs udev may not detect all attached drives
quick enough to be processed and assembled into a RAID array
* This results in dropping a user into an initramfs shell or if
BOOT_DEGRADED is set the boot will proceed degrading RAID unnecessary
* The fix is to include wait_for_udev call to give udev more time to
find the drives which are part of RAID
[TESTCASE]
* Install RAID preferably with a "slow" interface, e.g. RAID1 with
one drive on external USB
* Reboot multiple times and notice that sometimes boot fails
* Upgrade to the -proposed package
* Reboot multiple times and notice that boot fail less often
[Regression Potential]
* boot speed is decreased due to the nature of the fix, i.e. adding a physical delay
* Multiple reports in this bug and on the ubuntuforums reporting that this change "fixes" the boot issue for the users
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/942106/+subscriptions
More information about the foundations-bugs
mailing list