Hello,
With the default setup, I'm unable to run some HSM tests individually.
For instance, this will systematically fail because hsm_control is stopped:
ONLY=112 PDSH=ssh AGTCOUNT=1 agt1_HOST=localhost NAME=local ./sanity-hsm.sh
I can workaround by also setting hsm_control on the MDT, but that doesn't
look clean (and may break some other tests). Am I missing something?
+++ b/lustre/tests/sanity-hsm.sh
@@ -364,6 +364,7 @@ mdts_set_param() {
# if $arg include -P option, run 1 set_param per MDT on the MGS
# else, run set_param on each MDT
[[ $arg = *"-P"* ]] && facet=mgs
+ do_facet mds${mdtno} $LCTL conf_param ${MDT[$idx]}.mdt.$key$value
do_facet $facet $LCTL set_param $arg mdt.${MDT[$idx]}.$key$value
[[ $? != 0 ]] && rc=1
done
Frank.
Show replies by thread