CephFS
Cheat sheet · https://pcornel.dk/topic.php?topic=3957
Answer
CephFS clients contact MDS services for namespace/metadata and access file data through RADOS objects on OSDs. Availability therefore depends on client connectivity, MDS state, pool/PG/OSD health and the underlying cluster network/storage.
Remember
- CephFS MDS healthy ≠ OSD/data path healthy.
- Mounted client ≠ cluster HEALTH_OK.
- CephFS ≠ Ceph RBD.
- Replication in Ceph ≠ backup.
First checks
ceph fs status— CephFS statusceph mds stat— MDS statefindmnt -t ceph— mounted clients
Commands
mount -t ceph
Verify in this order
client → MDS (metadata) + OSDs (data)
Where it usually breaks
First mismatch in media/provider → controller/pool → logical object → path/protocol → filesystem/share/object namespace → consumer workload; preserve identity/pre-state before mutation.
Filesystems → CephFS filesystem map
| Filesystem boundary | What to verify | Proof limit |
|---|---|---|
| Identity / attachment | Filesystem type, source/backing object, mount/attachment target and effective options | Presence or mount state alone does not prove consistency or lower-layer health |
| Capacity / metadata | Data space, metadata/inodes, quotas/reservations and filesystem state | Free bytes at one layer do not prove allocation can succeed end to end |
| Failure boundary | A mounted CephFS client proves it reached enough control/data services for tested operations; it does not prove all MDS/OSD redundancy, cluster health or backup coverage. | Correlate filesystem evidence with the backing volume/path/backend before repair |
| Acceptance | Healthy evidence: filesystem and MDS state are expected, pools/PGs/OSDs are healthy, client mount is stable and representative file operations complete with normal latency. | Close only after the original path/workload and read-back check succeeds |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3957