mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
tests: reduction needs to ignore fs
Drop 'should' usage and use --fs ignore when reducing raid LV.
This commit is contained in:
parent
d7f6d5b9da
commit
68939136c1
@ -38,8 +38,7 @@ for deactivate in true false; do
|
|||||||
|
|
||||||
lvresize -l +2 $vg/$lv1
|
lvresize -l +2 $vg/$lv1
|
||||||
|
|
||||||
should lvresize -y -l -2 $vg/$lv1
|
lvresize --fs ignore -y -l -2 $vg/$lv1
|
||||||
|
|
||||||
#check raid_images_contiguous $vg $lv1
|
#check raid_images_contiguous $vg $lv1
|
||||||
|
|
||||||
# Extend and reduce 3-striped RAID 4/5/6/10
|
# Extend and reduce 3-striped RAID 4/5/6/10
|
||||||
@ -57,8 +56,8 @@ for deactivate in true false; do
|
|||||||
|
|
||||||
#check raid_images_contiguous $vg $lv1
|
#check raid_images_contiguous $vg $lv1
|
||||||
|
|
||||||
should lvresize -y -l -3 $vg/$lv2
|
lvresize --fs ignore -y -l -3 $vg/$lv2
|
||||||
should check lv_field $vg/$lv2 "seg_size" "768.00k"
|
check lv_field $vg/$lv2 "seg_size" "768.00k"
|
||||||
|
|
||||||
#check raid_images_contiguous $vg $lv1
|
#check raid_images_contiguous $vg $lv1
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ for deactivate in true false; do
|
|||||||
|
|
||||||
# Reduce RAID10 (2-stripes, 2-mirror)
|
# Reduce RAID10 (2-stripes, 2-mirror)
|
||||||
|
|
||||||
should lvresize -y -l -2 $vg/$lv1
|
lvresize --fs ignore -y -l -2 $vg/$lv1
|
||||||
|
|
||||||
#check raid_images_contiguous $vg $lv1
|
#check raid_images_contiguous $vg $lv1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user