summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorXiao Ni <xni@redhat.com>2024-05-22 10:50:44 +0200
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-05-24 10:05:19 +0200
commit23f45965a0abe3506885c8e8005ee79473a66422 (patch)
tree6af51d8cfd6aee8d7acf8f493c60b20a38301f86 /test
parentmdadm/tests: names_template enhance (diff)
downloadmdadm-23f45965a0abe3506885c8e8005ee79473a66422.tar.xz
mdadm-23f45965a0abe3506885c8e8005ee79473a66422.zip
mdadm/tests: 03assem-incr enhance
It fails when hostname lenght > 32. Because the super1 metadata name doesn't include hostname when hostname length > 32. Then mdadm thinks the array is a foreign array if no device link is specified when assembling the array. It chooses a minor number from 127. Signed-off-by: Xiao Ni <xni@redhat.com> Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest3
1 files changed, 3 insertions, 0 deletions
diff --git a/test b/test
index 814ce199..1fce6be2 100755
--- a/test
+++ b/test
@@ -33,6 +33,9 @@ LVM_VOLGROUP=mdtest
md0=/dev/md0
md1=/dev/md1
md2=/dev/md2
+# if user doesn't specify minor number, mdadm chooses minor number
+# automatically from 127.
+md127=/dev/md127
mdp0=/dev/md_d0
mdp1=/dev/md_d1