1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

tests: update required raid target

For embeded reshaping operation require higher driver version.
(otherwise we get:

Converting vg/LV1 from raid6 (same as raid6_zr) is directly possible to the following layouts:
 raid6_nc
 raid6_nr
 raid6_la_6
 raid6_ls_6
 raid6_ra_6
 raid6_rs_6
 raid6_n_6
This commit is contained in:
Zdenek Kabelac 2018-11-19 18:06:39 +01:00
parent cb15373ad7
commit b1e9fe9505

View File

@ -65,7 +65,8 @@ _test_regionsizes raid1
# Clean up # Clean up
lvremove --yes $vg lvremove --yes $vg
if aux have_raid 1 10 1; then # Needs reshaping kernel for raid6 conversion
if aux have_raid 1 14 0; then
# Create 5-way raid6 # Create 5-way raid6
lvcreate --yes -aey --type raid6 -i 3 --stripesize 128K -R 256K -L8M -n $lv1 $vg lvcreate --yes -aey --type raid6 -i 3 --stripesize 128K -R 256K -L8M -n $lv1 $vg
check lv_field $vg/$lv1 segtype "raid6" check lv_field $vg/$lv1 segtype "raid6"