]> sourceware.org Git - lvm2.git/commit
lvconvert: fix interim segtype regression on raid6 conversions
authorHeinz Mauelshagen <heinzm@redhat.com>
Fri, 7 Sep 2018 11:48:13 +0000 (13:48 +0200)
committerHeinz Mauelshagen <heinzm@redhat.com>
Fri, 7 Sep 2018 11:48:19 +0000 (13:48 +0200)
commite2e30a64ab10602951443dfbd3481bd6b32f5459
treef4a679353a2947dcb47203a7173f45dde41a8dc9
parent22a13043683a5647e8cc4e3aead911e5269ffd2f
lvconvert: fix interim segtype regression on raid6 conversions

When converting from striped/raid0/raid0_meta
to raid6 with > 2 stripes, allow possible
direct conversion (to raid6_n_6).

In case of 2 stripes, first convert to raid5_n to restripe
to at least 3 data stripes (the raid6 minimum in lvm2) in
a second conversion before finally converting to raid6_n_6.

As before, raid6_n_6 then can be converted
to any other raid6 layout.

Enhance lvconvert-raid-takeover.sh to test the
2 stripes conversions to raid6.

Resolves: rhbz1624038
WHATS_NEW
lib/metadata/raid_manip.c
test/shell/lvconvert-raid-takeover.sh
This page took 0.040141 seconds and 5 git commands to generate.