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