Whamcloud - gitweb
LU-7118 tests: stop all OSTs before reformat 66/16366/2
authorwang di <di.wang@intel.com>
Wed, 9 Sep 2015 08:35:56 +0000 (01:35 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 11 Sep 2015 23:15:34 +0000 (23:15 +0000)
Stop all of OSTs before reformat, otherwise
the leftover OSTs or MGC might cause trouble
in the following test.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I9b19f438906cf3c091d3ccbc55d3341a06e6745b
Reviewed-on: http://review.whamcloud.com/16366
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Jenkins
lustre/tests/sanity-scrub.sh

index 1b9001e..18280a7 100644 (file)
@@ -30,6 +30,7 @@ SAVED_OSTCOUNT=${OSTCOUNT}
 MDSSIZE=200000
 OSTSIZE=100000
 # no need too much OSTs, to reduce the format/start/stop overhead
+stopall
 [ $OSTCOUNT -gt 4 ] && OSTCOUNT=4
 
 MOUNT_2=""