summaryrefslogtreecommitdiffstats
path: root/tests/05r5-internalbitmap
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-11-17 03:15:32 +0100
committerNeilBrown <neilb@suse.de>2009-11-17 03:15:32 +0100
commit7d5c3964ccfaace123f7b75e15d38c2650e013d8 (patch)
tree7103dfe3f49a51131e59233449ffdfd731e0179b /tests/05r5-internalbitmap
parentIncrease default chunk size to 512K (diff)
downloadmdadm-7d5c3964ccfaace123f7b75e15d38c2650e013d8.tar.xz
mdadm-7d5c3964ccfaace123f7b75e15d38c2650e013d8.zip
Change default metadata from 0.90 to 1.1
1.1 is more flexible in a number of ways and is safer. 0.90 is still fully supported. 1.0 should possibly be used for RAID1 arrays that you want to boot off, depending on your boot loader. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tests/05r5-internalbitmap')
-rw-r--r--tests/05r5-internalbitmap6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/05r5-internalbitmap b/tests/05r5-internalbitmap
index d79db909..50dd36ea 100644
--- a/tests/05r5-internalbitmap
+++ b/tests/05r5-internalbitmap
@@ -4,11 +4,11 @@
#
mdadm --create --run $md0 --level=5 -n3 --delay=1 --bitmap internal $dev1 $dev2 $dev3
check wait
-testdev $md0 2 $mdsize0 1
+testdev $md0 2 $mdsize1 512
mdadm -S $md0
mdadm --assemble $md0 $dev1 $dev2 $dev3
-testdev $md0 2 $mdsize0 1
+testdev $md0 2 $mdsize1 512
dirty1=`mdadm -X $dev2 | sed -n -e 's/.*Bitmap.* \([0-9]*\) dirty.*/\1/p'`
sleep 4
dirty2=`mdadm -X $dev2 | sed -n -e 's/.*Bitmap.* \([0-9]*\) dirty.*/\1/p'`
@@ -18,7 +18,7 @@ then echo >&2 "ERROR bad 'dirty' counts: $dirty1 and $dirty2"
exit 1
fi
mdadm $md0 -f $dev1
-testdev $md0 2 $mdsize0 1
+testdev $md0 2 $mdsize1 512
sleep 4
dirty3=`mdadm -X $dev2 | sed -n -e 's/.*Bitmap.* \([0-9]*\) dirty.*/\1/p'`
if [ $dirty3 -lt 400 ]