UNLINKMANY=${UNLINKMANY:-unlinkmany}
LCTL=${LCTL:-lctl}
-MOUNT1=${MOUNT1:-/mnt/lustre1}
+MOUNT=${MOUNT:-/mnt/lustre}
MOUNT2=${MOUNT2:-/mnt/lustre2}
-DIR=${DIR:-$MOUNT1}
+DIR=${DIR:-$MOUNT}
DIR2=${DIR2:-$MOUNT2}
COUNT=${COUNT:-100}
MAXDIR=$DIRTMP
MAXRES=$DIRRES
fi
- if [ $FILERES -lt $MINRES ]; then
+ if [ $FILERES -lt $MINRES -o -z "$MINFILE" ]; then
[ -f "$MINFILE" ] && rm $MINFILE
MINFILE=$FILETMP
MINRES=$FILERES