From: Elena Gryaznova Date: Mon, 6 Sep 2010 11:58:31 +0000 (+0400) Subject: b=23363 obdfilter-survey: no echo client and ost_name not set X-Git-Tag: 2.0.51.0~7 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=721f6c7a946b78d999ae8eb8a8974f92aeb42574;ds=inline b=23363 obdfilter-survey: no echo client and ost_name not set i=Andrew.Perepechko libecho fix: use NETTYPE instead of tcp only --- diff --git a/lustre-iokit/obdfilter-survey/libecho b/lustre-iokit/obdfilter-survey/libecho index 454ea2e..20cc11d 100644 --- a/lustre-iokit/obdfilter-survey/libecho +++ b/lustre-iokit/obdfilter-survey/libecho @@ -49,6 +49,7 @@ declare -a do_unload_echo DSH=${DSH:-"ssh"} +NETTYPE=${NETTYPE:-tcp} dsh () { local node="$1" @@ -306,7 +307,7 @@ ec_using_srv_nid () { local server_nid=$1 local ocsname=$2 local oscuuid=$3 - $lctl add_uuid echo_UUID $server_nid@tcp >/dev/null 2>&1 + $lctl add_uuid echo_UUID $server_nid@$NETTYPE >/dev/null 2>&1 $lctl </dev/null 2>&1 + $lctl add_uuid ${host_name}_UUID $ost_nid@$NETTYPE >/dev/null 2>&1 $lctl <