]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
src: kernel mount command returning misleading error message 55299/head
authorneeraj pratap singh <neerajpratapsingh@li-ff7f0d4c-3462-11b2-a85c-d4004c0fa1a0.ibm.com>
Wed, 20 Dec 2023 08:45:35 +0000 (14:15 +0530)
committerneeraj pratap singh <neerajpratapsingh@li-ff7f0d4c-3462-11b2-a85c-d4004c0fa1a0.ibm.com>
Wed, 24 Jan 2024 14:12:41 +0000 (19:42 +0530)
Fixes: https://tracker.ceph.com/issues/63866
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
(cherry picked from commit f14899ce0859af5225074f9b19d018ba1cc8fcf6)

src/mount/mount.ceph.c

index ff1b12c474e57772e7530d6923e0e05356e33a24..db26883f59a5d2a779044f2735fd43c55fd95618 100644 (file)
@@ -890,7 +890,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));