i ended up with the following solution:

as i have the only one array and it is not used for system boot, i've
added AUTO -all to the /etc/mdadm/mdadm.conf

and created the file /etc/init/mounted-root.conf
mgr@nas:~$ cat /etc/init/mounted-root.conf

description     "assemble MD with external bitmap"

start on mounted MOUNTPOINT=/
env MOUNTPOINT=/

task

script
        mdadm --stop /dev/md0
        mdadm --assemble --scan
end script


after that array assembles correctly with external bitmap on boot.

i'm not sure about the correctness of the solution, so, please comment!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/803737

Title:
  mdadm doesn't start array with external bitmap

To manage notifications about this bug go to:
https://bugs.launchpad.net/mdadm/+bug/803737/+subscriptions

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

Reply via email to