X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fllmount.sh;h=094abda32d17d35c2a7b42f7295511c120363741;hb=2e1a3c7f9f05885e6e1fdece01c85341fae1e2e3;hp=7f47f9a1983b3c42f041b99a824b86ea8847d882;hpb=df7db69b8e3038061851ab91d976d6c2881e0baf;p=fs%2Flustre-release.git diff --git a/lustre/tests/llmount.sh b/lustre/tests/llmount.sh index 7f47f9a..094abda 100755 --- a/lustre/tests/llmount.sh +++ b/lustre/tests/llmount.sh @@ -3,55 +3,29 @@ SRCDIR="`dirname $0`" . $SRCDIR/common.sh -mknod /dev/portals c 10 240 +NETWORK=tcp +LOCALHOST=localhost +SERVER=localhost +PORT=1234 -insmod $R/usr/src/portals/linux/oslib/portals.o || exit -1 -insmod $R/usr/src/portals/linux/socknal/ksocknal.o || exit -1 +setup_portals +setup_lustre -$R/usr/src/portals/linux/utils/acceptor 1234 & +new_fs ext2 /tmp/ost 10000 +OST=$LOOPDEV +MDSFS=ext2 +new_fs ${MDSFS} /tmp/mds 10000 +MDS=$LOOPDEV -insmod $R/usr/src/obd/class/obdclass.o || exit -1 -insmod $R/usr/src/obd/rpc/ptlrpc.o || exit -1 -insmod $R/usr/src/obd/ext2obd/obdext2.o || exit -1 -insmod $R/usr/src/obd/ost/ost.o || exit -1 -insmod $R/usr/src/obd/osc/osc.o || exit -1 -insmod $R/usr/src/obd/mds/mds.o || exit -1 -insmod $R/usr/src/obd/mdc/mdc.o || exit -1 -insmod $R/usr/src/obd/llight/llight.o || exit -1 +echo 0xffffffff > /proc/sys/portals/debug -$R/usr/src/obd/utils/obdctl modules > $R/tmp/ogdb -echo "The GDB module script is in /tmp/ogdb. Press enter to continue" -read - -$R/usr/src/portals/linux/utils/ptlctl < /proc/sys/obd/debug -echo 8291 > /proc/sys/obd/trace - -$R/usr/src/obd/utils/obdctl <