diff options
author | Xiao Ni <xni@redhat.com> | 2024-05-22 10:50:53 +0200 |
---|---|---|
committer | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2024-05-24 10:43:06 +0200 |
commit | 63e99a49cc02cbe4d1777b477719078897fc8308 (patch) | |
tree | 37c95463bd1e40ff9e10d3cd1f8c4d9ff60797a9 /test | |
parent | mdadm/tests: 06name enhance (diff) | |
download | mdadm-63e99a49cc02cbe4d1777b477719078897fc8308.tar.xz mdadm-63e99a49cc02cbe4d1777b477719078897fc8308.zip |
mdadm/tests: 07autoassemble
This test is used to test stacked array auto assemble.
There are two different cases depends on if array is foreign or not.
If the array is foreign, the stacked array (md0 is on md1 and md2)
can't be assembled with name md0. Because udev rule will run when md1
and md2 are assembled and mdadm -I doesn't specify homehost. So it
will treat stacked array (md0) as foreign array and choose md127 as
the device node name (/dev/md127)
Add the case that stacked array is local.
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 | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -39,6 +39,8 @@ md2=/dev/md2 # if user doesn't specify minor number, mdadm chooses minor number # automatically from 127. md127=/dev/md127 +md126=/dev/md126 +md125=/dev/md125 mdp0=/dev/md_d0 mdp1=/dev/md_d1 |