X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Frecovery-small.sh;h=891ac23294c38fb48d770bcbee429b749ee99448;hp=0ce050902bb9e593964e1c4d4d1e9e8ce23a2f26;hb=fba6abdb9818b01d02ac7663e4ac9881258c8ead;hpb=fa8b581aea27acc00f6ac48e76ec261dddf8631a diff --git a/lustre/tests/recovery-small.sh b/lustre/tests/recovery-small.sh index 0ce0509..891ac23 100755 --- a/lustre/tests/recovery-small.sh +++ b/lustre/tests/recovery-small.sh @@ -1583,7 +1583,8 @@ test_66() do_nodes $list $LCTL set_param fail_loc=0x80000136 #initiate the re-connect & re-send - local mdccli=$($LCTL dl | awk '/-MDT0000-mdc-/ {print $4;}') + local mdtname="MDT0000" + local mdccli=$($LCTL dl | grep "${mdtname}-mdc" | awk '{print $4;}') local conn_uuid=$($LCTL get_param -n mdc.${mdccli}.conn_uuid) $LCTL set_param "mdc.${mdccli}.import=connection=${conn_uuid}" sleep 2