Whamcloud - gitweb
Add a check in new_fs() to try and avoid overwriting an in-use block device.
[fs/lustre-release.git] / lustre / tests / llecho.sh
1 #!/bin/sh
2
3 SRCDIR="`dirname $0`"
4 . $SRCDIR/common.sh
5
6 NETWORK=tcp
7 LOCALHOST=localhost
8 SERVER=localhost
9 PORT=1234
10
11 setup
12 setup_portals
13
14 $OBDCTL <<EOF
15 device 0
16 attach obdecho
17 setup
18 device 1
19 attach ost
20 setup 0
21 device 2
22 attach osc
23 setup -1
24 quit
25 EOF
26
27 cat <<EOF
28 run getattr tests as:
29 obdctl 
30 device 2 
31 connect
32 test_getattr 1000000
33 EOF