Storage · Ceph
CephFS
Cheat sheet · https://pcornel.dk/topic.php?topic=4048
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 MDSceph fs ls— data/metadata poolsmount -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 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 | A 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 |
| Acceptance | Healthy 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