Whamcloud - gitweb
- add initial mcr.sh for echo test on mcr cluster
[fs/lustre-release.git] / lustre / tests / local.sh
1 #!/bin/bash
2
3 config=${1:-local.xml}
4
5 LMC=../utils/lmc
6
7 # create nodes
8 ${LMC} -o $config --node localhost --net localhost tcp || exit 1
9
10 # configure mds server
11 ${LMC} -m $config --format  --node localhost --mds mds1 /tmp/mds1 50000 || exit 2
12
13 # configure ost
14 ${LMC} -m $config --format --node localhost --ost /tmp/ost1 100000 || exit 3
15
16 # create client config
17 ${LMC} -m $config --node localhost --mtpt /mnt/lustre mds1 OSC_localhost || exit 4