Bug#749062: mdadm: add "containers" to emergency config file
Michael Tokarev
mjt at tls.msk.ru
Fri May 23 17:53:39 UTC 2014
23.05.2014 19:03, Miquel van Smoorenburg wrote:
> If no mdadm.conf file is found in initramfs, the local-top mdadm script will create one on the fly like this:
>
> echo DEVICE partitions > $CONFIG
> $MDADM --examine --scan >> $CONFIG
>
> However, this config will fail to assemble Intel RAID (imsm) arrays, since those are "containers" and that needs to be explicitly added to the DEVICE line.
>
> Also, from the manpage:
>
> If no DEVICE line is present, then "DEVICE partitions contain-
> ers" is assumed.
>
> So please add "containers" to the DEVICE line or just leave out the DEVICE line completely.
I think we should just omit this line entirely and rely on mdadm defaults.
Maybe add it as a comment.
Thanks,
/mjt
More information about the pkg-mdadm-devel
mailing list