Message ID | 1386442834-4372-1-git-send-email-plageat90@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/src/mount/mount.ceph.c b/src/mount/mount.ceph.c index 5bbedd0..3ade629 100755 --- a/src/mount/mount.ceph.c +++ b/src/mount/mount.ceph.c @@ -358,6 +358,9 @@ int main(int argc, char *argv[]) case ENODEV: printf("mount error: ceph filesystem not supported by the system\n"); break; + case ECOMM: + printf("mount error: can't find active mds\n"); + break; default: printf("mount error %d = %s\n",errno,strerror(errno)); }
For http://tracker.ceph.com/issues/4386 We can handle ECOMM error returning by ceph kernel client for printing understandable message about missing active MDS state Signed-off-by: Mikhail Campos Guadamuz <plageat90@gmail.com> --- src/mount/mount.ceph.c | 3 +++ 1 file changed, 3 insertions(+)