From fa044de0d9c481ef81e2491e07f5d0a67a22e104 Mon Sep 17 00:00:00 2001 From: adilger Date: Sun, 1 Dec 2002 22:32:10 +0000 Subject: [PATCH] Fix ba-mount.sh so that it saves the config in $config instead of config. Remove explicit port number. --- lustre/tests/ba-mount.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/lustre/tests/ba-mount.sh b/lustre/tests/ba-mount.sh index 2a2ff3d..78ad45d 100644 --- a/lustre/tests/ba-mount.sh +++ b/lustre/tests/ba-mount.sh @@ -12,13 +12,12 @@ config=${1:-ba-mount.xml} -LMC_REAL="${LMC:-../utils/lmc} -m config" +LMC_REAL="${LMC:-../utils/lmc} -m $config" LMC="save_cmd" -PORT=988 TCPBUF=1048576 OST=ba-ost-1 -MDS=mds-hostname +MDS=`hostname` UUIDLIST=${UUIDLIST:-/usr/local/admin/ba-ost/UUID.txt} @@ -33,21 +32,21 @@ save_cmd() { [ -f $config ] && rm $config # MDS/client node -${LMC} --node $MDS --tcpbuf $TCPBUF --net '*' tcp $PORT +${LMC} --node $MDS --tcpbuf $TCPBUF --net $MDS tcp ${LMC} --node $MDS --mds mds1 /tmp/mds1 50000 OBD_UUID=`awk "/$OST / { print \\$3 }" $UUIDLIST` [ "$OBD_UUID" ] && OBD_UUID="--obduuid=$OBD_UUID" || echo "$OST: no UUID" # server node -${LMC} --node $OST --tcpbuf $TCPBUF --net $OST tcp $PORT +${LMC} --node $OST --tcpbuf $TCPBUF --net $OST tcp ${LMC} --node $OST $OBD_UUID --ost bluearc # mount point on the MDS/client ${LMC} --node $MDS --mtpt /mnt/lustre mds1 OSC_$OST # other clients -${LMC} --node client --tcpbuf $TCPBUF --net '*' tcp $PORT +${LMC} --node client --tcpbuf $TCPBUF --net '*' tcp ${LMC} --node client --mtpt /mnt/lustre mds1 OSC_$OST $LMC_REAL --batch $BATCH -- 1.8.3.1