[Bug 244926] [NEW] vol_id doesn't guarantee that mdadm/lvm/etc. have actually finished with the device, so only mitigates and does not solve mountroot race
Launchpad Bug Tracker
244926 at bugs.launchpad.net
Wed Jul 2 17:53:59 UTC 2008
You have been subscribed to a public bug:
Under certain circumstances, boot may fail and stop at an initramfs
shell prompt with an error such as:
mount: Mounting /dev/md0 on /root failed: device or ressource busy
This could happen, for example, when the root file system is on a software RAID 1 volume. The problem could be resolved by adding a "sleep 10" or "udevadm settle" in /usr/share/initramfs-tools/init, before the function mountroot is being called.
Discussing the problem with Scott, it appear that the race condition
could be better avoided by letting udev settle after each call to vol_id
in /usr/share/initramfs-tools/scripts/local instead. A package in his
PPA implement such a change: https://launchpad.net/~scott/+archive.
** Affects: initramfs-tools (Ubuntu)
Importance: Undecided
Status: New
--
vol_id doesn't guarantee that mdadm/lvm/etc. have actually finished with the device, so only mitigates and does not solve mountroot race
https://bugs.edge.launchpad.net/bugs/244926
You received this bug notification because you are a member of Kernel Bugs, which is subscribed to initramfs-tools in ubuntu.
More information about the kernel-bugs
mailing list