Use it when configuring, checking or troubleshooting MDS in Ceph.
MDS
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.
1. MDS handles CephFS metadata (directories, inodes, caps).
2. Active ranks plus standbys (standby-replay for fast failover).
3. Watch cache pressure and slow requests.
4. Clients holding caps can block others.
5. Not needed for RBD/RGW.
client → MDS metadata → OSD data
Context & applicabilityCommon mistakes · platform/version boundaries
MDS readiness shows metadata service state for CephFS, not generic cluster health, block/object services or all data-path performance.
Suspicious evidence: damaged/degraded filesystem health, rank failover loops, laggy MDS, session/capability problems or healthy MDS with unhealthy data-pool PGs.
Next check: Continue at the first failing step in MON/MGR/OSD/MDS, Pools/PG/CRUSH, client service (RBD/CephFS/RGW), public/cluster Networking, Storage Performance, Physical Media or Backup/DR; preserve evidence, make one minimal change and repeat the original workload plus redundancy/read-back verification.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
CephFS client → MDS rank/session for metadata → CephFS metadata pool → RADOS; file data → data pool → PG/OSD
Healthy evidence: intended ranks are active with suitable standby coverage, sessions progress normally and metadata plus file data operations succeed.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- MDS ≠ MON or MGR.
- MDS healthy ≠ CephFS data pool healthy.
- CephFS mount ≠ all MDS ranks healthy.
- MDS failure ≠ RBD outage.
ceph fs status— MDS ranks and stateceph mds stat— summaryceph health detail | grep -i mds— MDS warnings
ReferenceImportant terms & boundaries2 sections · depth on demand
Placement and what the checks show
MDS readiness shows metadata service state for CephFS, not generic cluster health, block/object services or all data-path performance.
In depth
The Metadata Server (MDS) serves CephFS: directory tree, file names, permissions and capabilities (client locks). File data goes directly between clients and OSDs; only metadata passes the MDS.
ceph fs status
ceph mds stat
ceph fs set cephfs max_mds 2 # multiple active MDS for large namespaces
ceph tell mds.0 session ls | head
Run at least one standby (or standby-replay) MDS. Common warnings: MDS_SLOW_REQUEST, clients failing to release capabilities, and MDS cache over its mds_cache_memory_limit.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Ceph → MDS. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.ceph.com/en/latest/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Ceph → MDS Ceph map
Fast control-plane, placement, data-path and proof boundaries for Ceph → MDS.
| 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 |