mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: check inactive extorig resize
This commit is contained in:
parent
052f28746d
commit
cc4855acbe
@ -43,8 +43,15 @@ not lvresize -L+10 $vg/$lv1
|
||||
lvresize -L-5 -f $vg/$lv1
|
||||
check lv_field $vg/$lv1 lv_size "5.00" --units m --nosuffix
|
||||
|
||||
# Inactive LV cannot be resized as well
|
||||
lvchange -an $vg
|
||||
not lvresize -L+15 -y $vg/$lv1
|
||||
check lv_field $vg/$lv1 lv_size "5.00" --units m --nosuffix
|
||||
lvchange -ay $vg/$lv1
|
||||
|
||||
not lvresize -L+15 -y $vg/$lv1
|
||||
check lv_field $vg/$lv1 lv_size "5.00" --units m --nosuffix
|
||||
|
||||
|
||||
# Try to resize again back up to the size of external origin
|
||||
lvresize -L+5 -f $vg/$lv1
|
||||
|
Loading…
Reference in New Issue
Block a user