From 61b4d4ff8e9a6e7539aa3a7dcc4dd1aea6b4f927 Mon Sep 17 00:00:00 2001 From: wang di Date: Wed, 9 Sep 2015 01:35:56 -0700 Subject: [PATCH] LU-7118 tests: stop all OSTs before reformat Stop all of OSTs before reformat, otherwise the leftover OSTs or MGC might cause trouble in the following test. Signed-off-by: wang di Change-Id: I9b19f438906cf3c091d3ccbc55d3341a06e6745b Reviewed-on: http://review.whamcloud.com/16366 Reviewed-by: Andreas Dilger Reviewed-by: Jian Yu Tested-by: Jenkins --- lustre/tests/sanity-scrub.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/tests/sanity-scrub.sh b/lustre/tests/sanity-scrub.sh index 1b9001e..18280a7 100644 --- a/lustre/tests/sanity-scrub.sh +++ b/lustre/tests/sanity-scrub.sh @@ -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="" -- 1.8.3.1