Whamcloud - gitweb
6a7b110b6afc1950f98e17ab389fe3a7a0c6c16e
[fs/lustre-release.git] / lustre / tests / llecho.sh
1 #!/bin/sh
2
3 config=echo.xml
4 lmc=../utils/lmc
5 lconf=../utils/lconf
6
7 SERVER=localhost
8 CLIENT=localhost
9
10 # create nodes
11 $lmc -o $config --node $SERVER --net $SERVER tcp || exit 1
12 $lmc -m $config --node $SERVER --obdtype=obdecho --ost || exit 2
13
14 # force the osc to be configured (this is normally done when it is mounted)
15 $lmc -m $config --node $CLIENT --osc OSC_$SERVER || exit 3
16
17 $lconf --gdb $config || exit 4
18
19 cat <<EOF
20
21 run getattr tests as:
22 ../utils/lctl --device \'\$OSC_$SERVER\' test_getattr 1000000
23 EOF
24