Whamcloud - gitweb
Various llmount-client/server fixes
authorpschwan <pschwan>
Wed, 27 Mar 2002 20:37:48 +0000 (20:37 +0000)
committerpschwan <pschwan>
Wed, 27 Mar 2002 20:37:48 +0000 (20:37 +0000)
lustre/tests/llmount-client.sh
lustre/tests/llmount-server.sh

index ca3bb77..4f2bd50 100644 (file)
@@ -4,28 +4,20 @@ export PATH=/sbin:/usr/sbin:$PATH
 SRCDIR="`dirname $0`"
 . $SRCDIR/common.sh
 
-NETWORK=elan
-LOCALHOST=4
-SERVER=5
+NETWORK=tcp
+LOCALHOST=dev5
+SERVER=dev4
+PORT=1234
 
 setup
 setup_portals
 
-tmp_fs ext2 /tmp/ost 10000
-OST=${LOOPDEV}
-
 $OBDCTL <<EOF
-device 1
-attach obdext2
-setup ${OST}
-device 2
-attach ost
-setup 1
-device 3
+device 0
 attach osc
-setup 2
+setup -1
 quit
 EOF
 
 mkdir /mnt/obd
-# mount -t lustre_light -o device=3 none /mnt/obd
+mount -t lustre_light -o device=0 none /mnt/obd
index bf3add7..a506e7a 100644 (file)
@@ -5,25 +5,18 @@ export PATH=/sbin:/usr/sbin:$PATH
 SRCDIR="`dirname $0`"
 . $SRCDIR/common.sh
 
-NETWORK=elan
-LOCALHOST=5
-SERVER=5
+NETWORK=tcp
+LOCALHOST=dev4
+SERVER=dev4
+PORT=1234
 
 setup
+setup_portals
 
-$PTLCTL <<EOF
-setup $NETWORK
-mynid $LOCALHOST
-connect $LOCALHOST
-add_uuid self
-add_uuid mds
-add_uuid ost
-EOF
-
-tmp_fs ext2 /tmp/ost 10000
+new_fs ext2 /tmp/ost 6000000
 OST=${LOOPDEV}
 MDSFS=ext2
-tmp_fs ${MDSFS} /tmp/mds 10000
+new_fs ${MDSFS} /tmp/mds 50000
 MDS=${LOOPDEV}
 
 $OBDCTL <<EOF
@@ -32,7 +25,7 @@ attach mds
 setup ${MDS} ${MDSFS}
 device 1
 attach obdext2
-setup ${OBD}
+setup ${OST}
 device 2
 attach ost
 setup 1