[Bug 20949] mdadm cannot assemble array as cannot open drive with O_EXCL

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Wed Dec 14 10:55:37 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=20949
Ubuntu | kernel-package





------- Additional Comments From hvy4-idbo at dea.spamcon.org  2005-12-14 10:55 UTC -------
You're going to like this!

ioliver at tera:~ $ sudo losetup /dev/loop/0 /dev/sde
ioliver at tera:~ $ sudo losetup /dev/loop1 /dev/sdf
ioliver at tera:~ $ sudo losetup /dev/loop2 /dev/sdg
ioliver at tera:~ $ sudo losetup /dev/loop3 /dev/sdh

ioliver at tera:~ $ sudo mdadm --assemble /dev/md1 /dev/loop/0 /dev/loop1 /dev/loop2 /dev/loop3
mdadm: /dev/md1 has been started with 4 drives.

So, if I "hide" the drive behind a loop back, then mdadm is perfectly happy with it and will assemble the 
array.  Remember, my other four drives, on an identical controller, didn't require this treatment!

Now that I have a work-around, I'm happier to try rebooting with different kernels/patches etc.

Regards

Ian


-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the kernel-bugs mailing list