Confirming the bug. This is caused by udev trying to assemble the md
device with --incremental. The /var/run/mdadm directory is missing from
the initramfs image and the array map is not created and mdadm gets
confused.

The solution is to add the following line to /usr/share/initramfs-
tools/hooks/mdadm

mkdir -p ${DESTDIR}/var/run/mdadm

After this, the array is assembled correctly on boot

** Changed in: mdadm (Ubuntu)
       Status: New => Confirmed

-- 
mdadm fails to assemble raid during boot
https://bugs.launchpad.net/bugs/541058
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to