i=Adilger
replace cleanup_and_setup_lustre fn by check_and_setup_lustre fn
# do_node $CLIENTS "$LCTL "'--device %OSC_`hostname`_'"${facet}_svc_MNT_client_facet recover"
}
-cleanup_and_setup_lustre
+check_and_setup_lustre
# 9 Different Failure Modes Combinations
echo "Starting Test 17 at `date`"
SETUP=${SETUP:-""}
CLEANUP=${CLEANUP:-""}
-cleanup_and_setup_lustre
+check_and_setup_lustre
assert_DIR
rm -rf $DIR/[df][0-9]*
build_test_filter
-cleanup_and_setup_lustre
+check_and_setup_lustre
assert_DIR
rm -rf $DIR/[df][0-9]*
build_test_filter
-cleanup_and_setup_lustre
+check_and_setup_lustre
mkdir -p $DIR
# we want double mount
MOUNT_2=${MOUNT_2:-"yes"}
-cleanup_and_setup_lustre
+check_and_setup_lustre
rm -rf $DIR/[df][0-9]*
DIR=${DIR:-$MOUNT}
DIR2=${DIR2:-$MOUNT2}
-cleanup_and_setup_lustre
+check_and_setup_lustre
LOVNAME=`cat $LPROC/llite/*/lov/common_name | tail -n 1`
OSTCOUNT=`cat $LPROC/lov/$LOVNAME/numobd`