1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-08-29 01:49:28 +03:00

test: add raid4 to upconvert allocation failure tests

This commit is contained in:
Heinz Mauelshagen
2017-04-22 00:43:31 +02:00
parent 149e4fa04b
commit effeb2b93d

View 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