From 2f02e8d33ae908b1db523fac1690a4c9246daee2 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Thu, 8 Nov 2018 14:08:41 -0600 Subject: [PATCH] tests: specify m1 for raid1 in cache-single-types --- test/shell/cache-single-types.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/shell/cache-single-types.sh b/test/shell/cache-single-types.sh index 1804e85c4..e7c58e252 100644 --- a/test/shell/cache-single-types.sh +++ b/test/shell/cache-single-types.sh @@ -30,14 +30,12 @@ aux prepare_devs 4 64 vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4" -lvcreate --type raid1 -n $lv1 -l 8 -an $vg "$dev1" "$dev2" +lvcreate --type raid1 -m 1 -n $lv1 -l 8 $vg "$dev1" "$dev2" -lvcreate --type raid1 -n $lv2 -l 4 -an $vg "$dev3" "$dev4" +lvcreate --type raid1 -m 1 -n $lv2 -l 4 $vg "$dev3" "$dev4" # test1: create fs on LV before cache is attached -lvchange -ay $vg/$lv1 - mkfs.xfs -f -s size=4096 "$DM_DEV_DIR/$vg/$lv1" mount "$DM_DEV_DIR/$vg/$lv1" "$mount_dir"