This patch removes "start $SINGLEMDS" and "mount_client $MOUNT"
from sanity-lfsck test_20a() because these operations are already
done in lfsck_prep().
Test-Parameters: alwaysuploadlogs envdefinitions=SLOW=yes,ENABLE_QUOTA=yes mdtfilesystemtype=ldiskfs mdsfilesystemtype=ldiskfs ostfilesystemtype=ldiskfs mdtcount=1 testlist=sanity-lfsck
Signed-off-by: Jian Yu <jian.yu@intel.com>
Change-Id: I75c77519c306c0f74db3441936935252cdedb774
Reviewed-on: http://review.whamcloud.com/13025
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
echo "#####"
lfsck_prep 0 0
- echo "start $SINGLEMDS"
- start $SINGLEMDS $MDT_DEVNAME $MOUNT_OPTS_SCRUB > /dev/null ||
- error "(1) Fail to start MDS!"
- mount_client $MOUNT || error "(2) Fail to start client!"
$LFS mkdir -i 0 $DIR/$tdir/a1
if [ $OSTCOUNT -gt 2 ]; then
$LFS setstripe -c 3 -i 0 -s 1M $DIR/$tdir/a1