2 [ -z "$SIZE" ] && SIZE=5g
3 [ -z "$COUNT" ] && COUNT=100
4 [ -z "$VERIFY" ] && VERIFY="-+d"
5 #[ -z "$ODIR" ] && ODIR="-I"
6 [ -z "$REC" ] && REC=64
7 [ -z "$FILE" ] && FILE=/mnt/lustre/iozone.$$
11 lctl set_param -n debug=0
15 iozone $VERIFY $ODIR -r $REC -i 0 -i 1 -f $FILE -s $SIZE 2>&1 || exit $?
16 [ -f endiozone -o $LOOP -ge $COUNT ] && rm -f endiozone && exit 0
17 done | tee /tmp/iozone.log