1
0
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:
Zdenek Kabelac 2025-01-08 22:57:29 +01:00
parent f392dab286
commit 86574ce07a

View File

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