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
28 $LMC -o $config --add node --node $SERVER || exit 1
29 $LMC -m $config --add net --node $SERVER --nid $SERVER --nettype tcp || exit 2
32 $LMC -m $config --add mds --node $SERVER --mds mds1 --dev $MDSDEV --size $MDSSIZE || exit 10
33 $LMC -m $config --add lov --lov lov1 --mds mds1 --stripe_sz $STRIPE_BYTES --stripe_cnt $STRIPES_PER_OBJ --stripe_pattern 0 || exit 11
34 $LMC -m $config --add ost --node $SERVER --lov lov1 --obdtype=obdecho || exit 12
35 $LMC -m $config --add ost --node $SERVER --lov lov1 --obdtype=obdecho || exit 13
38 $LMC -m $config --add ost --obd obd1 --node $SERVER --obdtype=obdecho || exit 2
42 if [ "$SERVER" != "$CLIENT" ]; then
43 $LMC -m $config --add node --node $CLIENT || exit 1
44 $LMC -m $config --add net --node $CLIENT --nid $CLIENT --nettype tcp || exit 2
47 $LMC -m $config --add echo_client --node $CLIENT --obd ${OBD_NAME} || exit 3
49 $LCONF --reformat --gdb $OPTS $config || exit 4
54 ../utils/lctl --device '\$ECHO_$SERVER' test_getattr 1000000