From 5fdf17222e3c4fbd5bbf1d86d6156225abad7333 Mon Sep 17 00:00:00 2001 From: rread Date: Mon, 19 Aug 2002 22:16:56 +0000 Subject: [PATCH] - generate some simple configs --- lustre/tests/local.sh | 16 ++++++++++++++++ lustre/tests/lov.sh | 20 ++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100755 lustre/tests/local.sh create mode 100755 lustre/tests/lov.sh 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 -- 1.8.3.1