Whamcloud - gitweb
- added, may prove useful as the first 20 lines of code.
[fs/lustre-release.git] / lustre / tests / llmount.sh
index efce1ba..877f9a3 100755 (executable)
@@ -8,10 +8,11 @@ LOCALHOST=localhost
 SERVER=localhost
 PORT=1234
 
-setup
 setup_portals
+setup_lustre
+read
 
-new_fs ext2 /tmp/ost 25000
+new_fs ext2 /tmp/ost 10000
 OST=$LOOPDEV
 MDSFS=ext2
 new_fs ${MDSFS} /tmp/mds 10000
@@ -24,15 +25,18 @@ device 0
 attach mds
 setup ${MDS} ${MDSFS}
 device 1
-attach obdext2
-setup ${OST}
+attach obdfilter
+setup ${OST} ext2
 device 2
 attach ost
 setup 1
 device 3
 attach osc
 setup -1
+device 4
+attach ptlrpc
+setup
 quit
 EOF
 
-#mount -t lustre_light -o device=3 none /mnt/obd
+mount -t lustre_lite -o device=3 none /mnt/lustre