[Ubuntu 14.04.1] initramfs try to mount /root before it is assembled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After forcing Ubuntu 14.04.1 to use mdadm instead of buggy dmraid for fakeraid imsm :
https:/
I have a new bug at startup that seems to be a race condition.
initramfs try to mount RAID1 array as /root before it is fully assembled, giving this kind of error :
mounting /dev/disk/
After that, I have the initramfs rescue shell. If i try to mount the device by hand it works.
A workaround is to add a "sleep" in initramfs, which is quick and dirty but works.
Thanks to bobbus2 on ubuntu forum for that workaround :
http://
How to wait properly for RAID array to be assembled ?
$ mdadm --version
mdadm - v3.2.5 - 18th May 2012
$ uname -provism
Linux 3.13.0-40-generic #69-Ubuntu SMP Thu Nov 13 17:53:56 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Changed in mdadm: | |
status: | New → Confirmed |
I hit exactly the same issure with Software RAID 1 and a fresh install from UEFI Ubuntu 14.04.1 Server amd64.