4 LCONF=${LCONF:-../utils/lconf}
5 LMC=${LMC:-../utils/lmc}
10 # FIXME: make LMC not require MDS for obdecho LOV
15 STRIPES_PER_OBJ=2 # 0 means stripe over all OSTs
27 $LMC -o $config --node $SERVER --net $SERVER tcp || exit 1
30 $LMC -m $config --node $SERVER --mds mds1 $MDSDEV $MDSSIZE || exit 10
31 $LMC -m $config --lov lov1 mds1 $STRIPE_BYTES $STRIPES_PER_OBJ 0 || exit 11
32 $LMC -m $config --node $SERVER --lov lov1 --obdtype=obdecho --ost || exit 12
33 $LMC -m $config --node $SERVER --lov lov1 --obdtype=obdecho --ost || exit 13
35 $LMC -m $config --node $CLIENT --echo_client lov1 || exit 3
37 $LMC -m $config --node $SERVER --obdtype=obdecho --ost || exit 2
38 # force the osc to be configured (this is normally done when it is mounted)
39 $LMC -m $config --node $CLIENT --osc OSC_$SERVER || exit 3
40 $LMC -m $config --node $CLIENT --echo_client OSC_${SERVER} || exit 3
43 $LCONF --gdb $OPTS $config || exit 4
48 ../utils/lctl --device '\$ECHO_$SERVER' test_getattr 1000000