THREADS=`expr $KB / 16384`
[ $THREADS -gt $MAX_THREADS ] && THREADS=$MAX_THREADS
fi
-[ "$SIZE" ] || SIZE=20480
-[ "$RSIZE" ] || RSIZE=64
+[ "$SIZE" ] || SIZE=40960
+[ "$RSIZE" ] || RSIZE=512
[ "$UID" ] || UID=1000
[ "$MOUNT" ] || MOUNT=/mnt/lustre
[ "$MOUNT2" ] || MOUNT2=${MOUNT}2
for NAME in $CONFIGS; do
export NAME MOUNT
[ -e $NAME.sh ] && sh $NAME.sh
- [ ! -e $NAME.xml ] && [ -z "$LDAPURL" ] && echo "no config '$NAME.xml'" 1>&2 && exit 1
+ [ ! -e $NAME.xml ] && [ -z "$LDAPURL" ] && \
+ echo "no config '$NAME.xml'" 1>&2 && exit 1
if [ "$RUNTESTS" != "no" ]; then
sh runtests
fi
- #[ "$SANITY" != "no" ] && sh sanity.sh
if [ "$SANITY" != "no" ]; then
SANITYLOG=/tmp/sanity.log START=: CLEAN=: sh sanity.sh
fi
if [ "$DBENCH" != "no" ]; then
mount | grep $MOUNT || sh llmount.sh
- SPACE=`df $MOUNT | tail -1 | awk '{ print $4 }'`
+ SPACE=`df $MOUNT | tail -n 1 | awk '{ print $4 }'`
DB_THREADS=`expr $SPACE / 50000`
[ $THREADS -lt $DB_THREADS ] && DB_THREADS=$THREADS
if [ "$BONNIE" != "no" ]; then
mount | grep $MOUNT || sh llmount.sh
$DEBUG_OFF
- bonnie++ -s 0 -n 10 -u $UID -d $MOUNT
+ bonnie++ -f -r 0 -s $(($SIZE / 1024)) -n 10 -u $UID -d $MOUNT
$DEBUG_ON
sh llmountcleanup.sh
sh llrmount.sh
fi
if [ "$IOZONE_DIR" != "no" ]; then
mount | grep $MOUNT || sh llmount.sh
- SPACE=`df $MOUNT | tail -1 | awk '{ print $4 }'`
- IOZ_THREADS=`expr $SPACE / \( $SIZE + $SIZE / 1000 \)`
+ SPACE=`df $MOUNT | tail -n 1 | awk '{ print $4 }'`
+ IOZ_THREADS=`expr $SPACE / \( $SIZE + $SIZE / 512 \)`
[ $THREADS -lt $IOZ_THREADS ] && IOZ_THREADS=$THREADS
$DEBUG_OFF
if [ "$CONF_SANITY" != "no" ]; then
sh conf-sanity.sh
fi
+
+if [ "$RECOVERY_SMALL" != "no" ]; then
+ sh recovery-small.sh
+fi
+
+if [ "$REPLAY_OST_SINGLE" != "no" ]; then
+ sh replay-ost-single.sh
+fi
+
+if [ "$REPLAY_DUAL" != "no" ]; then
+ sh replay-dual.sh
+fi
+
+if [ "$INSANITY" != "no" ]; then
+ sh insanity.sh -r
+fi