wait_recovery_complete $SINGLEMDS || error "MDS recovery not done"
wait_mds_ost_sync || return 3
AFTERUSED=`df -P $DIR | tail -1 | awk '{ print $3 }'`
wait_recovery_complete $SINGLEMDS || error "MDS recovery not done"
wait_mds_ost_sync || return 3
AFTERUSED=`df -P $DIR | tail -1 | awk '{ print $3 }'`