Pcornel
Storage · Ceph

MDS

Cheat sheet · https://pcornel.dk/topic.php?topic=4040

Back to the Topic

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 state
  • ceph mds stat — summary
  • ceph 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 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

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4040

Confirmation

Confirm action

Continue?