Ubuntu Server 14.04.1 LTS - unable to boot degraded RAID 1 boot disk

Bug #1367666 reported by Martin Hofbauer
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu
Confirmed
Undecided
Unassigned

Bug Description

Replication - also within a VM

install new Ubuntu Server with RAID1 boot disk

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

I have testet with MBR 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 the degraded MD a second time ( first boot works!)

or ( more easily )

b) Install Ubuntu Server with RAID1 boot disk and use only 1 disk and boot ( /boot and / on the same partion)

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

similar Situation is also described in

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

Revision history for this message
Martin Hofbauer (mhansi12) wrote :

Sorry found an already open Bug for this now, but no workaround there:

https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1341312

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.