]> sourceware.org Git - lvm2.git/commitdiff
test: add raid4 to upconvert allocation failure tests
authorHeinz Mauelshagen <heinzm@redhat.com>
Fri, 21 Apr 2017 22:43:31 +0000 (00:43 +0200)
committerHeinz Mauelshagen <heinzm@redhat.com>
Fri, 21 Apr 2017 22:43:31 +0000 (00:43 +0200)
test/shell/lvconvert-raid-takeover-alloc-failure.sh

index 7cb83786b8a7954ca20ae3e2c88e5293042d976a..3870c35c80a8edfc9dd72cc4ad8c0fb93bb09df7 100644 (file)
@@ -49,6 +49,10 @@ function check_no_sub_lvs
 
 # 6-way striped: neither conversion to raid5 nor raid6 possible
 lvcreate --yes --stripes 6 --size 4M --name $lv1 $vg
+not lvconvert --yes --type raid4 $vg/$lv1
+check lv_field $vg/$lv1 segtype "striped"
+check_no_sub_lvs $vg $lv1 0 5
+
 not lvconvert --yes --type raid5 $vg/$lv1
 check lv_field $vg/$lv1 segtype "striped"
 check_no_sub_lvs $vg $lv1 0 5
This page took 0.038024 seconds and 5 git commands to generate.