I've got a different way to fix this. After reading Bug #75681, it
became clear why they have MD_DEGRADED_ARGS in there. They have that
because /scripts/local-top/mdadm gets called every time a device marked
raid gets called, but they only want mdadm to build the array once all
the devices have come up.

So I've stuck a line in the startup script that tries to mount root and
if mounting root times out, then we try to run mdadm again, but this
time we let it try and run with degraded disks. This way it will still
startup automatically in the presence of RAID failures.

** Attachment added: "Patch to boot after timeout using degraded RAID drives."
   http://launchpadlibrarian.net/8884059/failed-raid.patch

-- 
cannot boot raid1 with only one disk
https://bugs.launchpad.net/bugs/120375
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to