Whamcloud - gitweb
- generate some simple configs
authorrread <rread>
Mon, 19 Aug 2002 22:16:56 +0000 (22:16 +0000)
committerrread <rread>
Mon, 19 Aug 2002 22:16:56 +0000 (22:16 +0000)
lustre/tests/local.sh [new file with mode: 0755]
lustre/tests/lov.sh [new file with mode: 0755]

diff --git a/lustre/tests/local.sh b/lustre/tests/local.sh
new file mode 100755 (executable)
index 0000000..242bdf6
--- /dev/null
@@ -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 (executable)
index 0000000..cf53436
--- /dev/null
@@ -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