Whamcloud - gitweb
- obsolete
[fs/lustre-release.git] / lustre / tests / lov.sh
1 #!/bin/bash
2
3 if [ -z "$1" ]; then
4    config=lov.xml
5 else
6    config=$1
7 fi
8
9 LMC=../utils/lmc
10
11 echo "FIXME: autoformat is no by default, edit $config to change"
12
13 # create nodes
14 ${LMC} -o $config --node localhost --net localhost tcp 
15
16 # configure mds server
17 ${LMC} -m $config --format --node localhost --mds mds1 /tmp/mds1 50000
18
19 # configure ost
20 ${LMC} -m $config --lov lov1 mds1 4096 0 0
21 ${LMC} -m $config --format --node localhost --lov lov1 --ost /tmp/ost1 100000
22 ${LMC} -m $config --format --node localhost --lov lov1 --ost /tmp/ost2 100000
23
24 # create client config
25 ${LMC} -m $config  --node localhost --mtpt /mnt/lustre mds1 lov1