Bug#737132: Regression: wheezy initrd loads md raids only if defined on mdadm.conf even with INITRDSTART='all'

Fabio Fantoni fabio.fantoni at m2r.biz
Fri Jan 31 14:11:48 UTC 2014


Il 30/01/2014 17:20, Michael Tokarev ha scritto:
> 30.01.2014 20:18, Fabio Fantoni wrote:
> []
>> Thanks for reply.
>> The new md arrays were created by Wheezy persistent install on usb pendrive used as recovery system/tools.
>> The root of system to recover is also Wheezy.
>> Than the arrays are created with 1.2 superblock and different hostname.
>> Is it possible to force the hostname on mdadm create?
> use --homehost=whatever for that.
>
>> If so, is the UUID going to work too?
> I don't understand this question.
>
>> Otherwise if it is possible to change it only with --update, will the UUID contain the old hostname and will it be a problem on initrd start?
> use --update=homehost when assembling.
>
> Thanks,
>
> /mjt

Thanks for reply.
I tried create new arrays with --homehost and I saw on mdadm --detail 
that is working.
But unfortunately it seems that there is a bug because the same initrd 
still does not show them (boot fail to busybox and cat /proc/mdstat not 
show any array) even if they have the same hostname of the root to be 
started.



More information about the pkg-mdadm-devel mailing list