Whamcloud - gitweb
* llecho.sh reimplemnted to use lmc/lconf
[fs/lustre-release.git] / lustre / tests / llrext3.sh
index df699c8..c47fe9b 100755 (executable)
@@ -1,44 +1,10 @@
 #!/bin/sh
 
-SRCDIR="`dirname $0`"
+SRCDIR="`dirname $0`/"
 . $SRCDIR/common.sh
 
-NETWORK=tcp
-LOCALHOST=localhost
-SERVER=localhost
-PORT=1234
+export DEBUG_WAIT=yes
+. $SRCDIR/llrsetup.sh $SRCDIR/net-local.cfg $SRCDIR/client-mount.cfg $SRCDIR/mds.cfg $SRCDIR/obdext2.cfg || exit 2
 
-setup_portals
-setup_lustre
-
-old_fs ext2 /tmp/ost 10000
-OST=$LOOPDEV
-MDSFS=ext3
-old_fs ${MDSFS} /tmp/mds 10000
-MDS=$LOOPDEV
-
-echo 0xffffffff > /proc/sys/portals/debug
-
-$OBDCTL <<EOF
-device 0
-attach mds MDSDEV
-setup ${MDS} ${MDSFS}
-device 1
-attach obdext2 OBDDEV
-setup ${OST}
-device 2
-attach ost OSTDEV
-setup \$OBDDEV
-device 3
-attach ptlrpc RPCDEV
-setup
-device 4
-attach ldlm LDLMDEV
-setup
-device 5
-attach osc OSCDEV
-setup -1
-quit
-EOF
-
-mount -t lustre_lite -o device=`$OBDCTL name2dev OSCDEV` none /mnt/lustre
+debug_client_on
+#debug_client_off