Whamcloud - gitweb
Add llcleanup.sh script. This is the opposite of the llsetup.sh script,
authoradilger <adilger>
Wed, 24 Apr 2002 06:31:47 +0000 (06:31 +0000)
committeradilger <adilger>
Wed, 24 Apr 2002 06:31:47 +0000 (06:31 +0000)
and also needs a config file in order to work.  Some time soon when
network configuration is included, this will be able to do the network
cleanup, unlike the "llmountcleanup.sh" script.

lustre/tests/llcleanup.sh [new file with mode: 0755]

diff --git a/lustre/tests/llcleanup.sh b/lustre/tests/llcleanup.sh
new file mode 100755 (executable)
index 0000000..4cf2879
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+SRCDIR="`dirname $0`"
+. $SRCDIR/common.sh
+
+setup_opts "$@"
+
+$DBGCTL get_debug > /tmp/debug.1
+cleanup_client
+$DBGCTL get_debug > /tmp/debug.2
+cleanup_server
+
+$DBGCTL get_debug > /tmp/debug.3
+cleanup_lustre
+$DBGCTL get_debug > /tmp/debug.4
+cleanup_portals