Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

MDS

Direct 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.

When to use this

Use it when configuring, checking or troubleshooting MDS in Ceph.

First 30 seconds

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.

Operational verification

client → MDS metadata → OSD data

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

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.

Platform / version applicability
Ceph storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCeph storage
Scope / prerequisiteUse it when configuring, checking or troubleshooting MDS in Ceph.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • MDS ≠ MON or MGR.
  • MDS healthy ≠ CephFS data pool healthy.
  • CephFS mount ≠ all MDS ranks healthy.
  • MDS failure ≠ RBD outage.
Key checks
  • ceph fs status — MDS ranks and state
  • ceph mds stat — summary
  • ceph 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCeph storage current

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%
Terminology layer

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.

Aliases that resolve here
ceph mdsceph metadata servercephfs mds
Embedded reference data

Quick lookup tables

Ceph → MDS Ceph map

Fast control-plane, placement, data-path and proof boundaries for Ceph → MDS.

Ceph boundaryWhat to verifyProof limit
Control / placementMON/map/auth, pool, PG and CRUSH context for the exact workloadCluster visibility or one healthy daemon does not prove the data path
Data / redundancyActing OSD set, device/network state, capacity and replica/EC availabilityUp/in or active state alone does not prove clean redundancy or integrity
Failure boundaryMDS 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
AcceptanceHealthy 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
Confirmation

Confirm action

Continue?