Bug#534470: Using mdadm 2.6.7.2 to assemble a raid array created withmdadm 1.9.0 will corrupt it making mdadm 1.9.0 to crash whentrying to reassemble

NeilBrown neilb at suse.de
Fri Jun 26 11:43:11 UTC 2009


On Fri, June 26, 2009 9:28 pm, RUSSOTTO François-Xavier 200103 wrote:
> Thanks for answer,
>
>>
>> Use --create --assume-clean again but add the --uuid= option there.
>>
>
> I already tried this. But that didn't work, mdadm says that option
> "--uuid=" is not available when "--create" is used.

You would need mdadm-2.6 or later.  And that might get the checksum
wrong ... but it might be worth trying if you can figure a way to
do it.

>
>>
>> If that doesn't work (and I'm not 100% sure it will), you will need to
>> find a way to rebuild your initrd.
>>
>
> That's what I expected... any suggestion for doing so ?
>
What I would try would be:
  - --create the array
  - mount the filesystem
  - chroot /mount/point
  - mkinitramfs
(or whatever the command is).  Maybe it is "mkinitrd" in that
release of Debian.
Maybe Martin can help there?

NeilBrown






More information about the pkg-mdadm-devel mailing list