1
0
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:
Zdenek Kabelac 2024-03-24 19:22:48 +01:00
parent d7f6d5b9da
commit 68939136c1
2 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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