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:
@ -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
|
||||
|
Reference in New Issue
Block a user