Whamcloud - gitweb
common.sh: move all of the portals setup from setup() to setup_portals().
[fs/lustre-release.git] / lustre / tests / llmount.sh
index 6efb808..094abda 100755 (executable)
@@ -3,17 +3,13 @@
 SRCDIR="`dirname $0`"
 . $SRCDIR/common.sh
 
-setup
+NETWORK=tcp
+LOCALHOST=localhost
+SERVER=localhost
+PORT=1234
 
-$PTLCTL <<EOF
-mynid localhost
-setup tcp
-connect localhost 1234
-add_uuid self
-add_uuid mds
-add_uuid ost
-quit
-EOF
+setup_portals
+setup_lustre
 
 new_fs ext2 /tmp/ost 10000
 OST=$LOOPDEV
@@ -28,8 +24,8 @@ device 0
 attach mds
 setup ${MDS} ${MDSFS}
 device 1
-attach obdext2
-setup ${OST}
+attach obdfilter
+setup ${OST} ext2
 device 2
 attach ost
 setup 1
@@ -39,4 +35,4 @@ setup -1
 quit
 EOF
 
-mount -t lustre_light -o device=3 none /mnt/obd
+mount -t lustre_lite -o device=3 none /mnt/lustre