Whamcloud - gitweb
a506e7a67705e67e33ccd0c47a53212bb7d2494b
[fs/lustre-release.git] / lustre / tests / llmount-server.sh
1 #!/bin/sh
2
3 export PATH=/sbin:/usr/sbin:$PATH
4
5 SRCDIR="`dirname $0`"
6 . $SRCDIR/common.sh
7
8 NETWORK=tcp
9 LOCALHOST=dev4
10 SERVER=dev4
11 PORT=1234
12
13 setup
14 setup_portals
15
16 new_fs ext2 /tmp/ost 6000000
17 OST=${LOOPDEV}
18 MDSFS=ext2
19 new_fs ${MDSFS} /tmp/mds 50000
20 MDS=${LOOPDEV}
21
22 $OBDCTL <<EOF
23 device 0
24 attach mds
25 setup ${MDS} ${MDSFS}
26 device 1
27 attach obdext2
28 setup ${OST}
29 device 2
30 attach ost
31 setup 1
32 quit
33 EOF