From 78406ef6174b20ba2ee3e6405b8ed39804990482 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 11 Mar 2021 10:25:41 +0100 Subject: [PATCH] tests: update handling of thin-pool removal We shall no longer activate thin-pool, when it's going away together with all thin volumes. --- test/shell/component-thin.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/test/shell/component-thin.sh b/test/shell/component-thin.sh index 3cf02f37d..ddadd0f8e 100644 --- a/test/shell/component-thin.sh +++ b/test/shell/component-thin.sh @@ -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