b=20047
i=robert.read
i=yong.fan
reset debug level if lustre was already mounted
set -e
-PTLDEBUG=${PTLDEBUG:--1}
LUSTRE=${LUSTRE:-$(cd $(dirname $0)/..; echo $PWD)}
SETUP=${SETUP:-""}
CLEANUP=${CLEANUP:-""}
DIR=${DIR:-$MOUNT}
DIR2=${DIR2:-$MOUNT2}
-if [ ! -z "$(mounted_lustre_filesystems)" ]; then
- log "set debug level as $PTLDEBUG"
- do_nodes $(comma_list $(nodes_list)) "lctl set_param debug=$PTLDEBUG"
-fi
-
check_and_setup_lustre
if [ x"$(som_check)" = x"enabled" ]; then
quota_fini()
{
$LFS quotaoff $DIR
- do_nodes $(comma_list $(nodes_list)) "lctl set_param debug=+quota"
+ do_nodes $(comma_list $(nodes_list)) "lctl set_param debug=-quota"
}
quota_fini
check_config $MOUNT
init_facets_vars
init_param_vars
+
+ do_nodes $(comma_list $(nodes_list)) "lctl set_param debug=\\\"$PTLDEBUG\\\";
+ lctl set_param subsystem_debug=\\\"${SUBSYSTEM# }\\\";
+ lctl set_param debug_mb=${DEBUG_SIZE};
+ sync"
fi
if [ "$ONLY" == "setup" ]; then
exit 0