Whamcloud - gitweb
omitted test script
authorbraam <braam>
Thu, 3 Jan 2002 18:39:07 +0000 (18:39 +0000)
committerbraam <braam>
Thu, 3 Jan 2002 18:39:07 +0000 (18:39 +0000)
lustre/tests/ostreq.sh [new file with mode: 0644]

diff --git a/lustre/tests/ostreq.sh b/lustre/tests/ostreq.sh
new file mode 100644 (file)
index 0000000..84d0924
--- /dev/null
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+R=/r
+
+insmod /lib/modules/2.4.17/kernel/drivers/block/loop.o
+dd if=/dev/zero of=/tmp/fs bs=1024 count=10000
+mke2fs -F /tmp/fs
+losetup /dev/loop/0 /tmp/fs
+
+
+insmod $R/usr/src/obd/class/obdclass.o 
+insmod $R/usr/src/obd/ext2obd/obdext2.o
+insmod $R/usr/src/obd/ost/ost.o
+insmod $R/usr/src/obd/osc/osc.o
+mknod /dev/obd c 10 241
+
+$R/usr/src/obd/utils/obdctl <<EOF
+device 0
+attach obdext2
+setup /dev/loop/0
+device 1
+attach ost
+setup 0
+quit
+EOF
+
+
+
+