30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
|
From f0cfa9581f6bd9a1b0d7f0389d3460bcd4ccfde8 Mon Sep 17 00:00:00 2001
|
||
|
From: "Brian C. Lane" <bcl@redhat.com>
|
||
|
Date: Mon, 23 Jul 2018 16:07:40 -0700
|
||
|
Subject: [PATCH 097/103] t6100-mdraid-partitions: Use v0.90 metadata for the
|
||
|
test
|
||
|
|
||
|
Newer metadata types use more disk space, causing the test to fail.
|
||
|
---
|
||
|
tests/t6100-mdraid-partitions.sh | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/tests/t6100-mdraid-partitions.sh b/tests/t6100-mdraid-partitions.sh
|
||
|
index b37cddf..42905fa 100755
|
||
|
--- a/tests/t6100-mdraid-partitions.sh
|
||
|
+++ b/tests/t6100-mdraid-partitions.sh
|
||
|
@@ -45,8 +45,8 @@ cleanup_fn_() {
|
||
|
mdadm -S $md_dev || warn_ "Failed to stop MD array, $md_dev"
|
||
|
}
|
||
|
|
||
|
-# create mdraid on top of both partitions
|
||
|
-mdadm -C $md_dev --force -R -l1 -n2 "${scsi_dev}1" "${scsi_dev}2"
|
||
|
+# create mdraid on top of both partitions with v0.90 metadata
|
||
|
+mdadm -C $md_dev -e0 --force -R -l1 -n2 "${scsi_dev}1" "${scsi_dev}2"
|
||
|
wait_for_dev_to_appear_ ${md_dev} || { fail=1; cat /proc/partitions; }
|
||
|
|
||
|
# create gpt and two partitions on the raid device
|
||
|
--
|
||
|
2.17.2
|
||
|
|