summaryrefslogtreecommitdiffstats
path: root/tests/05r1-grow-external
diff options
context:
space:
mode:
Diffstat (limited to 'tests/05r1-grow-external')
-rw-r--r--tests/05r1-grow-external9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/05r1-grow-external b/tests/05r1-grow-external
index ba9b3e5..73fccd9 100644
--- a/tests/05r1-grow-external
+++ b/tests/05r1-grow-external
@@ -8,7 +8,7 @@ testdev $md0 1 $mdsize0 1
bmf=$targetdir/bm
rm -f $bmf
-mdadm -E $dev1
+#mdadm -E $dev1
mdadm --grow $md0 --bitmap=$bmf --delay=1 || { $mdadm -X $bmf ; exit 1; }
dirty1=`mdadm -X $bmf | sed -n -e 's/.*Bitmap.* \([0-9]*\) dirty.*/\1/p'`
sleep 4
@@ -19,10 +19,15 @@ dirty3=`mdadm -X $bmf | sed -n -e 's/.*Bitmap.* \([0-9]*\) dirty.*/\1/p'`
sleep 4
dirty4=`mdadm -X $bmf | sed -n -e 's/.*Bitmap.* \([0-9]*\) dirty.*/\1/p'`
-echo $dirty1 $dirty2 $dirty3 $dirty4
+#echo $dirty1 $dirty2 $dirty3 $dirty4
if [ $dirty2 -ne 0 -o $dirty4 -ne 0 -o $dirty3 -lt 400 ]
then
echo bad dirty counts
exit 1
fi
+
+# now to remove the bitmap
+check bitmap
+mdadm --grow $md0 --bitmap=none
+check nobitmap
mdadm -S $md0