Bug#607565: initramfs-tools: initramfs fails to assemble Intel RAID array

Roel Brook rainmaker52 at gmail.com
Sun Jan 30 10:55:56 UTC 2011


On Tue, 2011-01-25 at 22:22 +0100, martin f krafft wrote:
> also sprach Rainmaker <rainmaker52 at gmail.com> [2010.12.19.2047 +0100]:
> > I did, however find a different workaround. Removing the /etc/mdadm/mdadm.conf
> > and running mdadm -Ss && mdadm -As also assembles the arrays correctly.
> 
> Do you still have that mdadm.conf and could you please provide it
> with this bug report?
> 

Ofcourse.

The /etc/mdadm/mdadm.conf orginally looks like this:

DEVICE partitions
HOMEHOST <system>
ARRAY metadata=imsm UUID=5a17be47:4c36e982:9fd7aa92:6b23c688
ARRAY /dev/md/BootEnBackup container=5a17be47:4c36e982:9fd7aa92:6b23c688
member=0 UUID=9e351111:67d59d42:043dbdde:fe757582
ARRAY /dev/md/Data container=5a17be47:4c36e982:9fd7aa92:6b23c688
member=1 UUID=8a981b80:aa2c2f06:e4ec50a5:9045f323

Looks pretty much OK though... A mdadm -Es gives me the same numbers:

ARRAY metadata=imsm UUID=5a17be47:4c36e982:9fd7aa92:6b23c688
ARRAY /dev/md/BootEnBackup container=5a17be47:4c36e982:9fd7aa92:6b23c688
member=0 UUID=9e351111:67d59d42:043dbdde:fe757582
ARRAY /dev/md/Data container=5a17be47:4c36e982:9fd7aa92:6b23c688
member=1 UUID=8a981b80:aa2c2f06:e4ec50a5:9045f323

I think the DEVICE actually has to be "containers". Also, I'm not sure
if the gethostname() call implied by "<system>" will work in initrd.

I'll do some tests and see what works.

Sincerely,
Roel






More information about the pkg-mdadm-devel mailing list