Whamcloud - gitweb
67c7f0c82122a420701e8c93d8c7afd890968745
[fs/lustre-release.git] / lustre / tests / llmount-client.sh
1 #!/bin/sh
2 export PATH=/sbin:/usr/sbin:$PATH
3
4 SRCDIR="`dirname $0`"
5 . $SRCDIR/common.sh
6
7 NETWORK=tcp
8 LOCALHOST=dev5
9 SERVER=dev4
10 PORT=1234
11
12 setup_portals
13 setup_lustre
14
15 $OBDCTL <<EOF
16 device 0
17 attach ptlrpc
18 setup
19 device 1
20 attach ldlm
21 setup
22 device 2
23 attach osc
24 setup -1
25 quit
26 EOF
27
28 mount -t lustre_lite -o device=2 none /mnt/lustre