MDS
Cheat sheet · https://pcornel.dk/topic.php?topic=4040
Answer
CephFS clients rely on MDS for namespace/metadata operations while file data is stored in RADOS pools on OSDs. Active/standby MDS state therefore affects metadata availability but is separate from raw RADOS/RBD/RGW data paths.
Remember
- MDS ≠ MON or MGR.
- MDS healthy ≠ CephFS data pool healthy.
- CephFS mount ≠ all MDS ranks healthy.
- MDS failure ≠ RBD outage.
First checks
ceph fs status— MDS ranks and stateceph mds stat— summaryceph health detail | grep -i mds— MDS warnings
Verify in this order
client → MDS metadata → OSD data
Where it usually breaks
First mismatch in member media → metadata/layout → allocation/placement → redundancy/recovery → logical object → consumer; preserve identity/pre-state before mutation.
Ceph → MDS Ceph map
| Ceph boundary | What to verify | Proof limit |
|---|---|---|
| Control / placement | MON/map/auth, pool, PG and CRUSH context for the exact workload | Cluster visibility or one healthy daemon does not prove the data path |
| Data / redundancy | Acting OSD set, device/network state, capacity and replica/EC availability | Up/in or active state alone does not prove clean redundancy or integrity |
| Failure boundary | MDS readiness proves metadata service state for CephFS, not generic cluster health, block/object services or all data-path performance. | Correlate Ceph, host, device and network evidence in the same time window |
| Acceptance | Healthy evidence: intended ranks are active with suitable standby coverage, sessions progress normally and metadata plus file data operations succeed. | Close only after original client operation plus redundancy/read-back verification |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4040