[Bug 942106] Re: software raid doesn't assemble before mount on boot
Mark Ovens
942106 at bugs.launchpad.net
Mon Jul 30 16:49:17 UTC 2012
I only use the mdadm array for data, i.e. I don't boot from them. I was
originally subscribed to one of the duplicate bugs. The problem I had
was that booting would stop with a message about the disks not being
ready and the option to 'S'kip or 'M'anual.
To work round this I added the `noauto` option to the /etc/fstab entry
for the array and called mount(8) in /etc/rc.local
My testing of this fix has simply being to remove the `noauto` option
from /etc/fstab and the call to mount(8) in /etc/rc.local.
I guess that this is not enough for those who boot from an array?
P.S. I am happy to try anything else you may require, but I'm away for 8
days from tomorrow.
--
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