Instead of applying Adalberto's patch
I found this http://ubuntuforums.org/showthread.php?p=11388915 and it works for
me
tl;dr there is a race condition between assemble of the raid array and the
check on the health of the array.
In file, /usr/share/initramfs-tools/scripts/mdadm-functions
Modify function from:
degraded_arrays()
{
mdadm --misc --scan --detail --test >/dev/null 2>&1
return $((! $?))
}
To:
degraded_arrays()
{
udevadm settle
mdadm --misc --scan --detail --test >/dev/null 2>&1
return $((! $?))
}
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/645575
Title:
udev rules for mdadm cause boot hangs and md array malfunctions
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/645575/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs