1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

tests: use exclusive activation for mirror case

Since mirror doesn't take exclusive lock implicitely yet,
enforce it for cluster testing.
This commit is contained in:
Zdenek Kabelac 2014-02-18 10:36:53 +01:00
parent b1e8284f33
commit 0e0f91b6dd

View File

@ -17,7 +17,7 @@ aux prepare_vg 4
TYPE=raid1
aux target_at_least dm-raid 1 1 0 || TYPE=mirror
lvcreate --type $TYPE -m 1 -l 2 -n $lv1 $vg
lvcreate -aey --type $TYPE -m 1 -l 2 -n $lv1 $vg
lvchange -an $vg/$lv1
aux disable_dev "$dev1"