Whamcloud - gitweb
- name switch: "light" --> "lite"
[fs/lustre-release.git] / lustre / tests / llrext3.sh
index d653804..a958c8d 100755 (executable)
@@ -3,24 +3,19 @@
 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
+setup_portals
 
 old_fs ext2 /tmp/ost 10000
-OST=${LOOPDEV}
-
+OST=$LOOPDEV
 MDSFS=ext3
 old_fs ${MDSFS} /tmp/mds 10000
-MDS=${LOOPDEV}
+MDS=$LOOPDEV
 
 echo 0xffffffff > /proc/sys/portals/debug
 
@@ -40,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