Bug#534274: [mdadm] mdadm fails to assemble raid array on boot with kernel > 2.6.26
martin f krafft
madduck at debian.org
Tue Jun 23 06:33:45 UTC 2009
also sprach Lior Chen <liorc at lirtex.com> [2009.06.23.0810 +0200]:
> With kernels newer than 2.6.26-2 (I have tried both 2.6.29-2 and 2.6.30-1)
> mdadm fails to assemble raid array on boot:
>
> Assembling all MD arrays... md: md0 stopped
> mdadm: no devices found for /dev/md0
> Failure: failed to assemble all arrays.
Please look at
http://wiki.debian.org/InitramfsDebug#Savingdebuginformation and try
to provide as much information as you can about what happens between
the boot loader and the initramfs prompt.
> mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sda2 /dev/sdb2
> or
> mdadm -A /dev/md0 /dev/sda2 /dev/sdb2
>
> it fails saying that /dev/sda2 and /dev/sdb2 are busy (mdadm: Cannot open
> /dev/sda2: Device or resource busy).
It seems like som device mapper thing is getting in the way:
> in the initramfs shell:
> ls -l /dev/mapper :
> control
> isw_cjhfigcfig_LCRAID
> isw_cjhfigcfig_LCRAID1
> isw_cjhfigcfig_LCRAID2
I have no idea what that is, but a sneaking suspicion that
isw_cjhfigcfig_LCRAID2 is /dev/sd[ab]2.
Try to disable that.
--
.''`. martin f. krafft <madduck at d.o> Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduck http://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20090623/6992ff58/attachment-0001.pgp>
More information about the pkg-mdadm-devel
mailing list