From b1e9fe9505293e8c9b4a4bfffafe62c5a83b4d11 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 19 Nov 2018 18:06:39 +0100 Subject: [PATCH] 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 --- test/shell/lvconvert-raid-regionsize.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/shell/lvconvert-raid-regionsize.sh b/test/shell/lvconvert-raid-regionsize.sh index cba04cc8d..924e95a39 100644 --- a/test/shell/lvconvert-raid-regionsize.sh +++ b/test/shell/lvconvert-raid-regionsize.sh @@ -65,7 +65,8 @@ _test_regionsizes raid1 # Clean up 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 lvcreate --yes -aey --type raid6 -i 3 --stripesize 128K -R 256K -L8M -n $lv1 $vg check lv_field $vg/$lv1 segtype "raid6"