summaryrefslogtreecommitdiff
path: root/test/shell/lvconvert-raid.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/shell/lvconvert-raid.sh')
-rw-r--r--test/shell/lvconvert-raid.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/shell/lvconvert-raid.sh b/test/shell/lvconvert-raid.sh
index 8621311a3..6529ee220 100644
--- a/test/shell/lvconvert-raid.sh
+++ b/test/shell/lvconvert-raid.sh
@@ -9,8 +9,13 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# disable lvmetad logging as it bogs down test systems
+export LVM_TEST_LVMETAD_DEBUG_OPTS=${LVM_TEST_LVMETAD_DEBUG_OPTS-}
+
. lib/inittest
+test -e LOCAL_LVMPOLLD && skip
+
get_image_pvs() {
local d
local images
@@ -121,6 +126,12 @@ check active $vg $lv2
# FIXME: ensure no residual devices
lvremove -ff $vg
+# 4-way
+lvcreate --type raid1 -m 4 -l 2 -n $lv1 $vg
+aux wait_for_sync $vg $lv1
+lvconvert --yes --splitmirrors 1 --name $lv2 $vg/$lv1 "$dev2"
+lvremove -ff $vg
+
###########################################
# RAID1 split + trackchanges / merge
###########################################