Bug #44215
fs/ceph: show helpful dmesg output on connectivity issues during mount
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):
Description
Right now, mounting CephFS gives unhelpful errors if there are connectivity issues:
[root@... ~]# mount -vv -t ceph -o ... ...:/path /mnt/cephfs/ mount.ceph: unrecognized mount option "mds_namespace", passing to kernel. mount error 5 = Input/output error
Even reading the vanilla output from "dmesg" is unhelpful:
[958211.615082] libceph: mon0 ip:6789 session established [958211.620436] libceph: client114684121 fsid f...
Firstly, the mount error should be something like ETIMEDOUT. Second, the dmesg output should note what stage of the mount we're in. Did we connect to the monitors, authenticate, and get MDSMap/OSDMap? What MDS is the mount trying to connect to?
History
#1 Updated by Xiubo Li about 4 years ago
- Status changed from New to In Progress
Patchwork: https://patchwork.kernel.org/patch/11398773/
#4 Updated by Xiubo Li about 4 years ago
- Status changed from In Progress to Fix Under Review
#5 Updated by Xiubo Li almost 4 years ago
- Status changed from Fix Under Review to Resolved