Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common.sh: move all of the portals setup from setup() to setup_portals().
[fs/lustre-release.git]
/
lustre
/
tests
/
llmount.sh
diff --git
a/lustre/tests/llmount.sh
b/lustre/tests/llmount.sh
index
ad2a87f
..
094abda
100755
(executable)
--- a/
lustre/tests/llmount.sh
+++ b/
lustre/tests/llmount.sh
@@
-4,18
+4,12
@@
SRCDIR="`dirname $0`"
. $SRCDIR/common.sh
NETWORK=tcp
. $SRCDIR/common.sh
NETWORK=tcp
+LOCALHOST=localhost
+SERVER=localhost
+PORT=1234
-setup
-
-$PTLCTL <<EOF
-setup $NETWORK
-mynid localhost
-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
new_fs ext2 /tmp/ost 10000
OST=$LOOPDEV
@@
-30,8
+24,8
@@
device 0
attach mds
setup ${MDS} ${MDSFS}
device 1
attach mds
setup ${MDS} ${MDSFS}
device 1
-attach obd
ext2
-setup ${OST}
+attach obd
filter
+setup ${OST}
ext2
device 2
attach ost
setup 1
device 2
attach ost
setup 1
@@
-41,4
+35,4
@@
setup -1
quit
EOF
quit
EOF
-mount -t lustre_li
ght -o device=3 none /mnt/obd
+mount -t lustre_li
te -o device=3 none /mnt/lustre