1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: for cluster testing we always need exclusive mirrors

Cluster test would fail without exlusively activated mirror.
FIXME: test is still broken, since LV2 is not active after split.
This commit is contained in:
Zdenek Kabelac 2019-06-20 11:07:43 +02:00
parent 505c1d56e8
commit 05c7e09e71

View File

@ -20,7 +20,7 @@ aux prepare_vg 3
# Mirror split tests # Mirror split tests
########################################### ###########################################
# 3-way to 2-way/linear # 3-way to 2-way/linear
lvcreate --type mirror -m 2 -l 2 -n $lv1 $vg lvcreate -aey --type mirror -m 2 -l 2 -n $lv1 $vg
aux wait_for_sync $vg $lv1 aux wait_for_sync $vg $lv1
lvconvert --splitmirrors 1 -n $lv2 -vvvv $vg/$lv1 lvconvert --splitmirrors 1 -n $lv2 -vvvv $vg/$lv1