From bd07c02c775d9a15fb1cdd34d556c660311c725a Mon Sep 17 00:00:00 2001 From: "John L. Hammond" Date: Mon, 4 May 2015 09:04:56 -0500 Subject: [PATCH] LU-6559 test: use local tmp for HSM archive In sanity-hsm.sh place the HSM archive in the tmp directory local to the copytool. Signed-off-by: John L. Hammond Change-Id: Ied319cfca2481f19f726f91f065148c5675e006d Reviewed-on: http://review.whamcloud.com/14659 Tested-by: Jenkins Reviewed-by: Jian Yu Reviewed-by: Faccini Bruno Tested-by: Maloo Reviewed-by: Andreas Dilger --- lustre/tests/sanity-hsm.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lustre/tests/sanity-hsm.sh b/lustre/tests/sanity-hsm.sh index 0ee67b1..cd5116c 100755 --- a/lustre/tests/sanity-hsm.sh +++ b/lustre/tests/sanity-hsm.sh @@ -73,8 +73,11 @@ init_agt_vars() { exit 0 fi + # We used to put the HSM archive in $SHARED_DIRECTORY but that + # meant NFS issues could hose sanity-hsm sessions. So now we + # use $TMP instead. for n in $(seq $AGTCOUNT); do - eval export AGTDEV$n=\$\{AGTDEV$n:-"$SHARED_DIRECTORY/arc$n"\} + eval export AGTDEV$n=\$\{AGTDEV$n:-"$TMP/arc$n"\} agent=CLIENT$((n + 1)) if [[ -z "${!agent}" ]]; then [[ $CLIENTCOUNT -eq 1 ]] && agent=CLIENT1 || -- 1.8.3.1