diff options
author | Xiao Ni <xni@redhat.com> | 2024-05-22 10:50:44 +0200 |
---|---|---|
committer | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2024-05-24 10:05:19 +0200 |
commit | 23f45965a0abe3506885c8e8005ee79473a66422 (patch) | |
tree | 6af51d8cfd6aee8d7acf8f493c60b20a38301f86 /test | |
parent | mdadm/tests: names_template enhance (diff) | |
download | mdadm-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-x | test | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |