RAID array degraded due to boot race (PATCH provided)

Bug #1004273 reported by W Snyder on 2012-05-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I have a SSD boot disk and a spinning secondary raid array using ubuntu 12.04LTS, apt upgraded on 5/24. When I reboot, every boot fails due to a false degraded array error. Searching I found this:

As it suggests adding "udevadm settle" to degraded_arrays() in /usr/share/initramfs-tools/scripts/mdadm-functions completely solved the issue.

That page mentions 11.10, but obviously it's in 12.04LTS also. The relevant package is mdadm 3.2.3-2ubuntu1

Please consider making this a patch candidate to 12.04LTS, as having a bad boot on a RAID system is really nasty, SSDs are becoming common, LTS is for the long term, and each person hitting this is likely to waste several hours as I did debugging.

Thanks much,

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers