From: rread Date: Mon, 19 Aug 2002 22:16:56 +0000 (+0000) Subject: - generate some simple configs X-Git-Tag: 0.5.5~126 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=5fdf17222e3c4fbd5bbf1d86d6156225abad7333;p=fs%2Flustre-release.git - generate some simple configs --- diff --git a/lustre/tests/local.sh b/lustre/tests/local.sh new file mode 100755 index 0000000..242bdf6 --- /dev/null +++ b/lustre/tests/local.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +config=local.xml +LMC=../utils/lmc + +# create nodes +${LMC} -o $config --node localhost --net uml1 tcp + +# configure mds server +${LMC} -m $config --format --node localhost --mds mds1 /tmp/mds1 50000 + +# configure ost +${LMC} -m $config --format --node localhost --ost /tmp/ost1 100000 + +# create client config +${LMC} -m $config --node localhost --mtpt /mnt/lustre mds1 OSC_localhost diff --git a/lustre/tests/lov.sh b/lustre/tests/lov.sh new file mode 100755 index 0000000..cf53436 --- /dev/null +++ b/lustre/tests/lov.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +config=lov.xml +LMC=../utils/lmc + +echo "FIXME: autoformat is no by default, edit $config to change" + +# create nodes +${LMC} -o $config --node localhost --net uml1 tcp + +# configure mds server +${LMC} -m $config --format --node localhost --mds mds1 /tmp/mds1 50000 + +# configure ost +${LMC} -m $config --lov lov1 mds1 4096 0 0 +${LMC} -m $config --format --node localhost --lov lov1 --ost /tmp/ost1 100000 +${LMC} -m $config --format --node localhost --lov lov1 --ost /tmp/ost2 100000 + +# create client config +${LMC} -m $config --node localhost --mtpt /mnt/lustre mds1 lov1