]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
src: kernel mount command returning misleading error message 54972/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>
Thu, 18 Jan 2024 09:32:14 +0000 (15:02 +0530)
Fixes: https://tracker.ceph.com/issues/63866
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
src/mount/mount.ceph.c

index 631b0b3fcf18de215bdd9ba9c71a40476adf29f4..6efb154d31bb69298bc7ed13ca88b3c8c8258b4f 100644 (file)
@@ -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));