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