Whamcloud - gitweb
9510ab0c0f89f6d057e4fc1baecd42e485bf1d81
[fs/lustre-release.git] / lustre / tests / runiozone
1 #!/bin/sh
2 SIZE=5g
3 COUNT=0
4 VERIFY="-+d"
5 FILE=/mnt/lustre/test.$$
6 [ $1 ] && SIZE=$1
7 rm -f endiozone
8 while date; do
9         echo "Test #$COUNT"
10         iozone $VERIFY -r 64 -i 0 -i 1 -f $FILE -s $SIZE 2>&1 || exit $?
11         COUNT=`expr $COUNT + 1`
12         [ -f endiozone ] && rm endiozone && exit 0
13 done | tee /tmp/iozone.log