[Bug 27037] Re: mdadm cannot assemble array as cannot open drive with O_EXCL

Pelle per.anders.andersson at telia.com
Fri Oct 10 10:49:20 UTC 2008


I have a similar problem, now running  the 2.6.27 kernel.

Ian Olivers nice workaround solves it, but there is a spooky md0 array
that i can not get rid of.

>mdadm --examine --brief --scan --config=partitions
ARRAY /dev/md0 level=raid0 num-devices=2 UUID=7d97e292: ...    /* /dev/sd[c-d] - won't go away */
ARRAY /dev/md1 level=raid0 num-devices=4 UUID=84d9862b: ...    /* /dev/sd[e-h]1 - working fine */
ARRAY /dev/md0 level=raid0 num-devices=2 UUID=279762b4: ...    /* /dev/sd[c-d]1 - now loop[1-2] */

The history is:
/dev/sdc & /dev/sdd was first setup. Then removed and replaced by /dev/sdc1 & /dev/sdd1.
That worked fine for a long time until the next reboot. Then the first array reappeared
and could not be removed. And it became a horrible mess.

Many Thanks for the workaround! - but I hope for a cleaner solution.

-- 
mdadm cannot assemble array as cannot open drive with O_EXCL
https://bugs.launchpad.net/bugs/27037
You received this bug notification because you are a member of Kernel
Bugs, which is a direct subscriber.




More information about the kernel-bugs mailing list