From: Bobbie Lind Date: Fri, 23 Aug 2013 16:50:11 +0000 (-0600) Subject: LU-3731 ldlm: Fix misleading error message X-Git-Tag: 2.4.93~42 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F38%2F7438%2F6;p=fs%2Flustre-release.git LU-3731 ldlm: Fix misleading error message This is a correct error when target only mounts on one server, but is a misleading error message for an HA scenario. This rebased patch makes the error message a little clearer for admins running in HA. Signed-off-by: Bobbie Lind Change-Id: I4bdc7891812dd5db65a4dff420632b771a97d103 Reviewed-on: http://review.whamcloud.com/7438 Reviewed-by: Keith Mannthey Tested-by: Maloo Tested-by: Hudson Reviewed-by: Bob Glossman Reviewed-by: Oleg Drokin --- diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c index fc570c3..3364504 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -794,7 +794,9 @@ int target_handle_connect(struct ptlrpc_request *req) if (!target) { deuuidify(str, NULL, &target_start, &target_len); LCONSOLE_ERROR_MSG(0x137, "%s: not available for connect " - "from %s (no target)\n", str, + "from %s (no target). If you are running " + "an HA pair check that the target is " + "mounted on the other server.\n", str, libcfs_nid2str(req->rq_peer.nid)); GOTO(out, rc = -ENODEV); }