1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: update handling of thin-pool removal

We shall no longer activate thin-pool, when
it's going away together with all thin volumes.
This commit is contained in:
Zdenek Kabelac 2021-03-11 10:25:41 +01:00
parent e5e957e330
commit 78406ef617

View File

@ -39,11 +39,5 @@ lvs -a
# When component LVs are active, thin-pool cannot be actived
not lvcreate -V20 $vg/pool
# FIXME: ATM removal of thin volumes goes 1-by-1 and needs to activate thin-pool.
# And thin-pool cannot be activate thus vgremove fails.
# To fix this it would need to be able to remove volumes without activation.
should vgremove -f $vg
# -ff bypass activation failure
vgremove -ff $vg
# Rremoval of thin volumes should not need to activate thin-pool.
vgremove -f $vg