mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-23 10:50:34 +03:00
tests: test unsupported lvresize of origin vdo lv
This commit is contained in:
parent
f392dab286
commit
86574ce07a
@ -49,6 +49,12 @@ lvextend --use-policies "$vg/$lv2"
|
||||
# although autoextend is only 1%, it needs to extend at least by slab_size
|
||||
# this is corner case where min growth requires 128M + 128k
|
||||
check lv_field $vg/$lv2 size "<4.13g"
|
||||
lvremove -f $vg
|
||||
|
||||
# Resize of VDO origin (not supported)
|
||||
lvcreate --vdo -V3G -L4G -n $lv1 $vg/$lv2
|
||||
lvcreate -s -L1 $vg/$lv1
|
||||
not lvextend -L+2G $vg/$lv1 |& tee out
|
||||
grep "not supported" out
|
||||
|
||||
vgremove -ff $vg
|
||||
|
Loading…
x
Reference in New Issue
Block a user