Whamcloud - gitweb
Fix badness in test scripts.
[fs/lustre-release.git] / lustre / tests / llrmount.sh
index 69f6ad9..51a559e 100755 (executable)
@@ -1,38 +1,9 @@
 #!/bin/sh
 
-SRCDIR="`dirname $0`"
-. $SRCDIR/common.sh
+LCONF=../utils/lconf
 
-NETWORK=tcp
-LOCALHOST=localhost
-SERVER=localhost
-PORT=1234
+if [ ! -f local.xml ]; then
+   ./local.sh
+fi
 
-setup_portals
-setup_lustre
-
-old_fs ext2 /tmp/ost 80000
-OST=$LOOPDEV
-MDSFS=ext2
-old_fs ${MDSFS} /tmp/mds 10000
-MDS=$LOOPDEV
-
-echo 0xffffffff > /proc/sys/portals/debug
-
-$OBDCTL <<EOF
-device 0
-attach mds
-setup ${MDS} ${MDSFS}
-device 1
-attach obdext2
-setup ${OST}
-device 2
-attach ost
-setup 1
-device 3
-attach osc
-setup -1
-quit
-EOF
-
-mount -t lustre_lite -o device=3 none /mnt/lustre
+${LCONF} --gdb local.xml