Bug#618463: mdadm: Mdadm grow of Raid1 destroys metadata
Michael Gebetsroither
michael at mgeb.org
Thu Mar 31 13:47:54 UTC 2011
On 2011-03-18 03:29, NeilBrown wrote:
> On Tue, 15 Mar 2011 12:45:19 +0100 Michael Gebetsroither <michael at mgeb.org>
Hi Neil,
first, thx for your explanation and answer to my bugreport!
>> Package: mdadm
>> Version: 2.6.7.2-3
>> Severity: grave
>> Justification: causes non-serious data loss
>>
>> Hi,
>>
>> mdadm --grow /dev/mdX --size=max shreded the second raid1 array here.
>>
>> Commands where as following:
>> lvextend -L +10G vda/opt
>> lvextend -L +10G vdb/opt
>
> md was not made aware of these changes to the sizes of the individual devices,
> so
But how should i tell mdadm about the changes?
mdadm --grow /dev/md2 --size=max
Seems like the logical choice to update the size.
More information about the pkg-mdadm-devel
mailing list