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:
parent
e5e957e330
commit
78406ef617
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user