summaryrefslogtreecommitdiff
path: root/test/shell/lvcreate-operation.sh
diff options
context:
space:
mode:
authorMarian Csontos <mcsontos@redhat.com>2018-12-18 08:48:25 +0100
committerMarian Csontos <mcsontos@redhat.com>2018-12-18 09:54:42 +0100
commit07fc4866f040a382c39577fb739e010734d83e42 (patch)
treea208e844f0ea3fab0dfa0492d6575ef8c41dcb6a /test/shell/lvcreate-operation.sh
parente82303fd6abc3ae43168f8032806c7c17d181a3e (diff)
downloadlvm2-07fc4866f040a382c39577fb739e010734d83e42.tar.gz
tests: Remove unsupported mirrored mirrorlog
Diffstat (limited to 'test/shell/lvcreate-operation.sh')
-rw-r--r--test/shell/lvcreate-operation.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/test/shell/lvcreate-operation.sh b/test/shell/lvcreate-operation.sh
index 568af369b..807f176e1 100644
--- a/test/shell/lvcreate-operation.sh
+++ b/test/shell/lvcreate-operation.sh
@@ -38,26 +38,4 @@ lvcreate -n$lv2 -l4 -s $vg/$lv1
lvcreate -n$lv3 -l4 --permission r -s $vg/$lv1
cleanup_lvs
-# Skip the rest for cluster
-if test -e LOCAL_CLVMD; then
-
-# ---
-# Create mirror on two devices with mirrored log using --alloc anywhere - should always fail in cluster
-not lvcreate --type mirror -m 1 -l4 -n $lv1 --mirrorlog mirrored $vg --alloc anywhere "$dev1" "$dev2"
-cleanup_lvs
-
-else
-
-# ---
-# Create mirror on two devices with mirrored log using --alloc anywhere
-lvcreate --type mirror -m 1 -l4 -n $lv1 --mirrorlog mirrored $vg --alloc anywhere "$dev1" "$dev2"
-cleanup_lvs
-
-# --
-# Create mirror on one dev with mirrored log using --alloc anywhere, should fail
-not lvcreate --type mirror -m 1 -l4 -n $lv1 --mirrorlog mirrored $vg --alloc anywhere "$dev1"
-cleanup_lvs
-
-fi
-
vgremove -ff $vg