From b9341e36f1390c5aa4e79b2faee28a2aeabc64c5 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Fri, 6 Nov 2015 15:58:22 -0600 Subject: [PATCH] test: disable duplicate VG name test for lvmetad Until we decide how duplicate VG names should be handled by lvmetad, and implement that. --- test/shell/vgrename-usage.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/shell/vgrename-usage.sh b/test/shell/vgrename-usage.sh index 92070e8fa..8893c0f4b 100644 --- a/test/shell/vgrename-usage.sh +++ b/test/shell/vgrename-usage.sh @@ -41,6 +41,18 @@ vgcreate $vg2 "$dev2" not vgrename $vg1 $vg2 vgremove $vg1 $vg2 +# FIXME: decide how lvmetad should handle +# duplicate VG names. lvmetad now ignores +# the VG on device B if it already knows +# about the same VG name on device A. +# This lets you vgrename the VG on device A +# which allows the VG on device B to reappear +# once it's rescanned. +# It's not yet known how we want lvmetad to +# handle duplicate VG names. + +test -e LOCAL_LVMETAD && exit 0 + # vgrename duplicate name vgcreate $vg1 "$dev1" aux disable_dev "$dev1"