Whamcloud - gitweb
land b_md onto HEAD:
[fs/lustre-release.git] / lustre / tests / mdcreq.sh
index fc24eb2..bd54c96 100644 (file)
@@ -6,20 +6,21 @@ SRCDIR="`dirname $0`"
 NETWORK=tcp
 LOCALHOST=localhost
 SERVER=localhost
-PORT=1234
+PORT=988
+TMP=${TMP:-/tmp}
 
-setup
 setup_portals
+setup_lustre
 
 MDSFS=ext2
-new_fs ${MDSFS} /tmp/mds 1000
+new_fs ${MDSFS} $TMP/mds 1000
 MDS=$LOOPDEV
 
 echo 0xffffffff > /proc/sys/portals/debug
 
 $OBDCTL <<EOF
 device 0
-attach mds
+attach mds MDSDEV
 setup ${MDS} ${MDSFS}
 quit
 EOF