[lvm-devel] master - tests: fix missing exclusive activation

Zdenek Kabelac zkabelac at fedoraproject.org
Fri Dec 9 14:15:23 UTC 2016


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=900d203586faf1fef447002aa2e784cfc9575ad1
Commit:        900d203586faf1fef447002aa2e784cfc9575ad1
Parent:        c5aeb210155eff180ad5f1127ed451307bd7b854
Author:        Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate:    Thu Dec 8 16:27:24 2016 +0100
Committer:     Zdenek Kabelac <zkabelac at redhat.com>
CommitterDate: Fri Dec 9 15:15:02 2016 +0100

tests: fix missing exclusive activation

For cluster conversion  LV for caching needs to be activated
exclusively.
---
 test/shell/lvs-cache.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/shell/lvs-cache.sh b/test/shell/lvs-cache.sh
index 2c518d0..74077ae 100644
--- a/test/shell/lvs-cache.sh
+++ b/test/shell/lvs-cache.sh
@@ -23,7 +23,7 @@ aux have_cache 1 3 0 || skip
 aux prepare_vg 5 8000
 
 # Use 10M origin size
-lvcreate -L10 -n $lv1 $vg
+lvcreate -aey -L10 -n $lv1 $vg
 lvcreate -H -L5 $vg/$lv1
 
 # replace 10M size with 5M size of cache device




More information about the lvm-devel mailing list