src: kernel mount command returning misleading error message

Fixes: https://tracker.ceph.com/issues/63866
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
This commit is contained in:
neeraj pratap singh 2023-12-20 14:15:35 +05:30
parent 95cadf404f
commit f14899ce08

View 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));