Pcornel
Storage · Ceph

CephFS

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

Back to the Topic

Answer

Clients obtain filesystem maps/auth, establish MDS sessions for metadata and access file data through RADOS objects in data pools. Metadata and data therefore have related but distinct failure boundaries.

Remember

  • CephFS ≠ RBD.
  • MDS healthy ≠ data-pool healthy.
  • Mounted CephFS ≠ writable path.
  • POSIX-like semantics ≠ local filesystem latency/behavior.

First checks

  • ceph fs status — filesystem and MDS
  • ceph fs ls — data/metadata pools
  • mount -t ceph <mon>:/ /mnt -o name=<user> — client mount

Verify in this order

client → MDS + OSDs → files

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 → CephFS 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 boundaryA mounted client proves partial control/data-path success, not complete MDS redundancy, every data PG, permissions or application correctness.Correlate Ceph, host, device and network evidence in the same time window
AcceptanceHealthy evidence: MDS ranks and pools are healthy, client sessions progress, permissions are correct and representative namespace/data operations persist.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=4048

Confirmation

Confirm action

Continue?