Whamcloud - gitweb
Add LDLM setup/cleanup to subsystems set up via new configuration scripts.
[fs/lustre-release.git] / lustre / tests / lllocalmount.sh
index f60c7e7..70e2250 100755 (executable)
@@ -3,7 +3,13 @@
 SRCDIR="`dirname $0`"
 . $SRCDIR/common.sh
 
-setup
+NETWORK=tcp
+LOCALHOST=localhost
+SERVER=localhost
+PORT=1234
+
+setup_portals
+setup_lustre
 
 new_fs ext2 /tmp/ost 10000
 OST=${LOOPDEV}
@@ -16,18 +22,18 @@ echo 0xffffffff > /proc/sys/portals/debug
 
 $OBDCTL <<EOF
 device 0
-attach mds
+attach mds MDSDEV
 setup ${MDS} ${MDSFS}
 device 1
-attach obdext2
+attach obdext2 OBDDEV
 setup ${OST}
 device 2
-attach ost
-setup 1
+attach ost OSTDEV
+setup \$OBDDEV
 device 3
-attach osc
+attach osc OSCDEV
 setup 2
 quit
 EOF
 
-# mount -t lustre_light -o device=3 none /mnt/obd
+# mount -t lustre_lite -o device=3 none /mnt/lustre