summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorneeraj pratap singh <neerajpratapsingh@li-ff7f0d4c-3462-11b2-a85c-d4004c0fa1a0.ibm.com>2023-12-20 09:45:35 +0100
committerneeraj pratap singh <neerajpratapsingh@li-ff7f0d4c-3462-11b2-a85c-d4004c0fa1a0.ibm.com>2024-01-18 10:32:14 +0100
commitf14899ce0859af5225074f9b19d018ba1cc8fcf6 (patch)
tree1512a661bdcee4fad4cca8a0869087707b7856a5
parentMerge PR #54733 into main (diff)
downloadceph-f14899ce0859af5225074f9b19d018ba1cc8fcf6.tar.xz
ceph-f14899ce0859af5225074f9b19d018ba1cc8fcf6.zip
src: kernel mount command returning misleading error message
Fixes: https://tracker.ceph.com/issues/63866 Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
-rw-r--r--src/mount/mount.ceph.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mount/mount.ceph.c b/src/mount/mount.ceph.c
index 631b0b3fcf1..6efb154d31b 100644
--- a/src/mount/mount.ceph.c
+++ b/src/mount/mount.ceph.c
@@ -912,7 +912,8 @@ static int do_mount(const char *dev, const char *node,
fprintf(stderr, "mount error: ceph filesystem not supported by the system\n");
break;
case EHOSTUNREACH:
- fprintf(stderr, "mount error: no mds server is up or the cluster is laggy\n");
+ fprintf(stderr, "mount error: no mds (Metadata Server) is up. "
+ "The cluster might be laggy, or you may not be authorized\n");
break;
default:
fprintf(stderr, "mount error %d = %s\n", errno, strerror(errno));