summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2008-05-20 16:28:48 +1000
committerNeil Brown <neilb@suse.de>2008-05-20 16:28:48 +1000
commit1c203a4b5a05789a0de2548294c049481bff2254 (patch)
treed435235f7fc9983584f1811014ecb4c251c6cf08 /test
parentdf5a0b92954c22128e6beceb6f5df8e303848d71 (diff)
downloadmdadm-1c203a4b5a05789a0de2548294c049481bff2254.tar.gz
mdadm-1c203a4b5a05789a0de2548294c049481bff2254.tar.xz
mdadm-1c203a4b5a05789a0de2548294c049481bff2254.zip
Fix autoassemble for stack arrays.
If you have stacked arrays, then mdadm -As --homehost=fred should work but doesn't. It gets into an infinite loop! So write some tests, and fix the bugs.
Diffstat (limited to 'test')
-rw-r--r--test2
1 files changed, 2 insertions, 0 deletions
diff --git a/test b/test
index d271985..a62d7e3 100644
--- a/test
+++ b/test
@@ -30,6 +30,8 @@ targetdir=/var/tmp
size=20000
# super0, round down to multiple of 64 and substract 64
mdsize0=19904
+# super00 is nested, subtract 128
+mdsize00=19840
# super1.0 round down to multiple of 2, subtract 8
mdsize1=19992
# subtract another 4 for bitmaps