From b57b4db88940566cb7df9368eb5520ebab1634a2 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Tue, 20 May 2014 22:50:52 +0200 Subject: [PATCH] tests: checking mirror_remove_missing FIXME: Seems like conversion of log is not supported in clustered VG and needs to be fixed. --- test/shell/lvconvert-repair-replace.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/shell/lvconvert-repair-replace.sh b/test/shell/lvconvert-repair-replace.sh index 53c09382a..c02d2accc 100644 --- a/test/shell/lvconvert-repair-replace.sh +++ b/test/shell/lvconvert-repair-replace.sh @@ -51,10 +51,15 @@ check mirror $vg 2way aux enable_dev "$dev1" "$dev2" vgremove -ff $vg +# FIXME - exclusive activation for mirrors should work here +# conversion of inactive cluster logs is also unsupported +test -e LOCAL_CLVMD && exit 0 + + # Test repair of inactive mirror with log failure # Replacement should fail, but convert should succeed (switch to corelog) vgcreate $vg "$dev1" "$dev2" "$dev3" "$dev4" -lvcreate -aey --type mirror -m 2 --ignoremonitoring --nosync -l 2 -n mirror2 $vg "$dev1" "$dev2" "$dev3" "$dev4":0 +lvcreate -aey --type mirror -m 2 --ignoremonitoring -l 2 -n mirror2 $vg "$dev1" "$dev2" "$dev3" "$dev4":0 vgchange -a n $vg pvremove -ff -y "$dev4" lvconvert -y --repair $vg/mirror2 @@ -62,9 +67,6 @@ check mirror $vg mirror2 vgs $vg vgremove -ff $vg -# FIXME - exclusive activation for mirrors should work here -test -e LOCAL_CLVMD && exit 0 - if kernel_at_least 3 0 0; then # 2-way, mirrored log # Double log failure, full replace