]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
imsm: fix: Fixes metadata after migration from Raid 0 to Raid 10
authorroot <root@gklab-128-192.igk.intel.com>
Sat, 22 Oct 2011 00:42:16 +0000 (11:42 +1100)
committerNeilBrown <neilb@suse.de>
Sat, 22 Oct 2011 00:42:16 +0000 (11:42 +1100)
After migration from Raid 0 to Raid 10, the metadata is incorrect,
leaving one mirror disk marked as spare and one missing disk as a member
of the array.
The reason is that the metadata update code for spare activation
procedure takes into account one spare disk only, not checking
the following ones.

Signed-off-by: Lukasz Orlowski <lukasz.orlowski@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>

No differences found