Whamcloud - gitweb
Use $TMP variable, if set, for storing temp loopback files.
[fs/lustre-release.git] / lustre / tests / local.sh
1 #!/bin/bash
2
3 config=${1:-local.xml}
4
5 LMC=${LMC:-../utils/lmc}
6 TMP=${TMP:-/tmp}
7
8 # create nodes
9 ${LMC} -o $config --node localhost --net localhost tcp || exit 1
10
11 # configure mds server
12 ${LMC} -m $config --format  --node localhost --mds mds1 $TMP/mds1 50000 || exit 2
13
14 # configure ost
15 ${LMC} -m $config --format --node localhost --ost $TMP/ost1 100000 || exit 3
16
17 # create client config
18 ${LMC} -m $config --node localhost --mtpt /mnt/lustre mds1 OSC_localhost || exit 4