mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
tests: skip clvmd testing of mirrored LV vgsplit
There is something wrong when even inactive LV can't be splitted without cmirrord being present for clustered VG.
This commit is contained in:
parent
87cb0a3e9f
commit
ba049e203b
@ -119,9 +119,12 @@ COMM "vgsplit correctly splits mirror (log+leg on same dev) into $i VG ($j args)
|
||||
lvremove -f $vg2/$lv1
|
||||
vgremove -f $vg1 $vg2
|
||||
|
||||
# Can't use mirrored log without cmirrord
|
||||
# TODO: Should work for inactive device, needs some fixes....
|
||||
if test ! -e LOCAL_CLVMD ; then
|
||||
COMM "vgsplit correctly splits mirror LV with mirrored log into $i VG ($j args)"
|
||||
create_vg_ -c n $vg1 "$dev1" "$dev2" "$dev3" "$dev4"
|
||||
test $i = existing && create_vg_ -c n $vg2 "$dev5"
|
||||
create_vg_ $vg1 "$dev1" "$dev2" "$dev3" "$dev4"
|
||||
test $i = existing && create_vg_ $vg2 "$dev5"
|
||||
|
||||
lvcreate -an -Zn -l 64 --mirrorlog mirrored --type mirror -m1 -n $lv1 $vg1 \
|
||||
"$dev1" "$dev2" "$dev3" "$dev4"
|
||||
@ -146,8 +149,8 @@ COMM "vgsplit correctly splits mirror LV with mirrored log into $i VG ($j args)"
|
||||
|
||||
# RHBZ 875903
|
||||
COMM "vgsplit correctly splits mirror LV with mirrored log on same devs into $i VG ($j args)"
|
||||
create_vg_ -c n $vg1 "$dev1" "$dev2" "$dev3" "$dev4"
|
||||
test $i = existing && create_vg_ -c n $vg2 "$dev5"
|
||||
create_vg_ $vg1 "$dev1" "$dev2" "$dev3" "$dev4"
|
||||
test $i = existing && create_vg_ $vg2 "$dev5"
|
||||
|
||||
lvcreate -an -Zn -l 64 --mirrorlog mirrored --type mirror -m1 -n $lv1 $vg1 \
|
||||
"$dev1" "$dev2"
|
||||
@ -166,6 +169,7 @@ COMM "vgsplit correctly splits mirror LV with mirrored log on same devs into $i
|
||||
fi
|
||||
lvremove -f $vg2/$lv1
|
||||
vgremove -f $vg1 $vg2
|
||||
fi
|
||||
|
||||
COMM "vgsplit correctly splits origin and snapshot LV into $i VG ($j args)"
|
||||
create_vg_ $vg1 "$dev1" "$dev2"
|
||||
|
Loading…
x
Reference in New Issue
Block a user