Whamcloud - gitweb
merge b_devel into HEAD. Includes:
[fs/lustre-release.git] / lustre / tests / ba-echo.sh
index 6d7b7f4..c0427fd 100644 (file)
@@ -2,13 +2,13 @@
 
 config=${1:-ba-echo.xml}
 
+LMC_REAL="${LMC:-../utils/lmc} -m $config"
 LMC="save_cmd"
-LMC_REAL="../../lustre/utils/lmc -m $config"
 
 TCPBUF=1048576
 OST=${OST:-ba-ost-1}
-CLIENT=client
+CLIENT=`hostname`
+
 UUIDLIST=${UUIDLIST:-/usr/local/admin/ba-ost/UUID.txt}
 
 h2tcp () {
@@ -29,7 +29,7 @@ OST_UUID=`awk "/$OST / { print \\$3 }" $UUIDLIST`
 
 # server node
 ${LMC} --add net --node $OST --tcpbuf $TCPBUF --nid $OST --nettype tcp
-${LMC} --add ost --node $OST --ost ost1 --obdtype=obdecho $OST_UUID 
+${LMC} --add ost --node $OST --ost ost1 --osdtype=obdecho $OST_UUID 
 
 # osc on client
 ${LMC} --add echo_client --node $CLIENT --ost ost1