[Bug 942106] Re: software raid doesn't assemble before mount on boot
Dmitrijs Ledkovs
launchpad at surgut.co.uk
Mon Jun 25 18:16:36 UTC 2012
** Description changed:
- Booting a system with a software raid device can randomly or systematically
- fail.
+ [IMPACT]
- The system boot will fail at the initramfs stage and the system complain
- that it can't find the software raid device.
+ * Due to small time-outs udev may not detect all attached drives quick
+ enough to be processed and assembled into a RAID array
- The user ends up on the initramfs console. Rebooting might solve the issue
- (or not).
+ * 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
- Happens at once on boot.
+ [TESTCASE]
- I happened to use the kernel 3.0.0-17, because the computer would not boot because of the bug that the line
- udevadm settle
- is missing in function degraded_arrays() in the file /usr/share/initramfs-tools/scripts/mdadm-functions which results in a halt on an initram fs console.
+ * 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
- ProblemType: Crash
- Date: Mon Feb 27 17:46:23 2012
- ExecutablePath: /usr/bin/update-manager
- ExecutableTimestamp: 1326448883
- InterpreterPath: /usr/bin/python2.7
- ProcCmdline: /usr/bin/python ./xorg_fix_proprietary.py
- ProcCwd: /tmp/update-manager-Qp_QfE
- PythonArgs: ['/usr/bin/update-manager']
- Traceback:
- Traceback (most recent call last):
- File "./xorg_fix_proprietary.py", line 160, in <module>
- if ver and apt_pkg.VersionCompare(ver, "2:1.5.0") > 0:
- ValueError: _system not initialized
- UserGroups:
+ * 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
--
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:
Confirmed
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