Whamcloud - gitweb
Exit from XML configs if there is an error.
[fs/lustre-release.git] / lustre / tests / local.sh
1 #!/bin/bash
2
3 config=local.xml
4 LMC=../utils/lmc
5
6 # create nodes
7 ${LMC} -o $config --node localhost --net localhost tcp || exit 1
8
9 # configure mds server
10 ${LMC} -m $config --format  --node localhost --mds mds1 /tmp/mds1 50000 || exit 2
11
12 # configure ost
13 ${LMC} -m $config --format --node localhost --ost /tmp/ost1 100000 || exit 3
14
15 # create client config
16 ${LMC} -m $config --node localhost --mtpt /mnt/lustre mds1 OSC_localhost || exit 4