X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre-iokit%2Fmds-survey%2Fmds-survey;h=ffa062ea51683ae6817dfb678c3fb26914618188;hp=9c529bf9cdbf524150148aa828f230ac8525bf2b;hb=5165cdd4b063d523e5ae261f47818b5ba2bbc7cc;hpb=83d42ef35ff05efab5f6aa13729dc836321267cc diff --git a/lustre-iokit/mds-survey/mds-survey b/lustre-iokit/mds-survey/mds-survey index 9c529bf..ffa062e 100755 --- a/lustre-iokit/mds-survey/mds-survey +++ b/lustre-iokit/mds-survey/mds-survey @@ -187,7 +187,7 @@ if (( $stripe_count > 0 )); then for ((i=0; i < $ndevs; i++)); do host=${host_names[$i]} obd=$(remote_shell $host $lctl device_list | awk "{if (\$2 == \"UP\" && - \$3 == \"osc\") { print \$4 } }") + (\$3 == \"osc\" || \$3 == \"osp\")) { print \$4 } }") if [ -z "$obd" ]; then echo "Need obdfilter to test stripe_count" exit 1