summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2019-10-30 09:36:10 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2019-10-30 09:36:10 +0100
commit8b741b3bbac6121f05caa455b31fed0983a30b64 (patch)
treef36a4f009f5d78fda5055c77a0e2ca71ef9b7f99
parent5ee3d6dbdffc47467727d8c89fc91d84aa97189a (diff)
downloadlvm2-8b741b3bbac6121f05caa455b31fed0983a30b64.tar.gz
tests: needs exclusive activation for conversion
For online convertion LVs must be activated localy exclusive as cache can only work for exclusive activation.
-rw-r--r--test/shell/lvconvert-cache-thin.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/shell/lvconvert-cache-thin.sh b/test/shell/lvconvert-cache-thin.sh
index 7dda6e6ff..ad4a03e99 100644
--- a/test/shell/lvconvert-cache-thin.sh
+++ b/test/shell/lvconvert-cache-thin.sh
@@ -54,8 +54,8 @@ lvs -a $vg
lvremove -f $vg
# Check conversion of cached LV works as thin-pool
-lvcreate -L10 -n $lv $vg
-lvcreate -L10 -n $lv1 $vg
+lvcreate -aey -L10 -n $lv $vg
+lvcreate -aey -L10 -n $lv1 $vg
lvcreate -H -L10 $vg/$lv
# Stack of cache over cache is unsupported ATM