From 6f4d94b30d910dc2103be9ef2fcd6df5c64ad4b4 Mon Sep 17 00:00:00 2001 From: grev Date: Wed, 21 Nov 2007 12:44:30 +0000 Subject: [PATCH] b=14087 i=Adilger set debug level on remote nodes only if modules already loaded --- lustre/tests/test-framework.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 007df6c..adfdef8 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -343,15 +343,16 @@ start() { shift echo "Starting ${facet}: $@ ${device} ${MOUNT%/*}/${facet}" do_facet ${facet} mkdir -p ${MOUNT%/*}/${facet} - do_facet ${facet} "sysctl -w lnet.debug=$PTLDEBUG; - sysctl -w lnet.subsystem_debug=${SUBSYSTEM# }; - sysctl -w lnet.debug_mb=${DEBUG_SIZE}" do_facet ${facet} mount -t lustre $@ ${device} ${MOUNT%/*}/${facet} RC=${PIPESTATUS[0]} if [ $RC -ne 0 ]; then echo mount -t lustre $@ ${device} ${MOUNT%/*}/${facet} echo Start of ${device} on ${facet} failed ${RC} else + do_facet ${facet} "sysctl -w lnet.debug=$PTLDEBUG; \ + sysctl -w lnet.subsystem_debug=${SUBSYSTEM# }; \ + sysctl -w lnet.debug_mb=${DEBUG_SIZE}" + do_facet ${facet} sync label=$(do_facet ${facet} "e2label ${device}") [ -z "$label" ] && echo no label for ${device} && exit 1 -- 1.8.3.1