Ubuntu Server 14.04.1 LTS can not boot degraded RAID 1 boot disk

Asked by Martin Hofbauer

Replication is easy - also within a VM

install new Ubuntu Server with RAID1 boot disk

( Ubuntu_14.0.4.1_LTS_trusty-server-amd64.iso ).

I have testet with DOS part. Table ( not with GTP), only two prim partions, md0 --> /boot and / (ext4) , md1 --> swap

a) if you disconnect 2nd Disk in the RAID1 and want to boot ( first boot works, but the next fails)

or ( more easily )

b) Install RAID1 only with 1 Disk and boot ( /boot and / on the same partion with MBR

in both cases booting stops with (initramfs) prompt, error ( mount /root ... - Device or Resource busy )

Workaround: add a "sleep 2" in /etc/initramfs/scripts/local-premount/delay.sh & update-initramfs -u

It seams that the MD device is not ready for mounting as a root partion. Waiting for the disk device(s) is needed. if
you have both disks in the RAID1 up booting never fails

Situation is also described in

http://ubuntuforums.org/showthread.php?t=2241430&goto=newpost
with similar workaround,

Looks like a bug !(?)

thanks
Martin

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Thomas Krüger (thkrueger) said :
#1

If you consider it to be a bug, sent a bug report.
The best way to do so is the button "Create bug report" below.

When finished, close this question as solved. Thanks!

Can you help with this problem?

Provide an answer of your own, or ask Martin Hofbauer for more information if necessary.

To post a message you must log in.