From 1699de20882a56d6fda16f23897de0c0b4e2f610 Mon Sep 17 00:00:00 2001 From: Bobbie Lind Date: Fri, 23 Aug 2013 10:50:11 -0600 Subject: [PATCH] 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 --- lustre/ldlm/ldlm_lib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } -- 1.8.3.1