Use it when configuring, checking or troubleshooting CephFS in Filesystems.
CephFS · Filesystems
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.
1. CephFS: POSIX filesystem on Ceph with MDS for metadata.
2. Multiple active MDS for scale.
3. Kernel or FUSE clients.
4. Snapshots per directory.
5. Watch MDS cache and health.
client → MDS (metadata) + OSDs (data)
Context & applicabilityCommon mistakes · platform/version boundaries
A mounted CephFS client shows it reached enough control/data services for tested operations, but it does not show all MDS/OSD redundancy, cluster health or backup coverage.
Suspicious evidence: MDS failover/stall, degraded PGs, client caps/session issues, slow OSDs or a successful mount is treated as evidence of cluster health.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
application path → CephFS client → MDS namespace/metadata → RADOS data pool → PG → OSD → device
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.
Step 2 Native branching decision path Narrow the fault
Observation → implication → next check: if the client cannot mount, check monitor reachability/auth and filesystem/MDS availability. If mounted but namespace operations stall, inspect MDS sessions/ranks and metadata pool health. If metadata works but reads/writes fail or lag, inspect data-pool PG/OSD state. Finish by repeating the same client operation and confirming latency and errors return to baseline.
Path: Storage → Filesystems → CephFS. Local intent: CephFS is a distributed POSIX-like filesystem built on Ceph RADOS with Metadata Servers managing namespace metadata and OSDs storing file data.
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.
- CephFS MDS healthy ≠ OSD/data path healthy.
- Mounted client ≠ cluster HEALTH_OK.
- CephFS ≠ Ceph RBD.
- Replication in Ceph ≠ backup.
ceph fs status— CephFS statusceph mds stat— MDS statefindmnt -t ceph— mounted clients
ReferenceHow it works1 section · depth on demand
How it works
CephFS separates client mount/session state, MDS metadata service and RADOS data/metadata pools. MDS health and OSD/pool health are adjacent but distinct; a mounted client can stall on metadata while raw RADOS remains healthy, or metadata can be healthy while data placement/recovery causes I/O latency. Anchor client, filesystem, MDS rank and backing pools.
Path: Storage → Filesystems → CephFS. Local intent: CephFS is a distributed POSIX-like filesystem built on Ceph RADOS with Metadata Servers managing namespace metadata and OSDs storing file data.
ReferenceImportant terms & boundaries2 sections · depth on demand
Namespace and consistency
A mounted CephFS client shows it reached enough control/data services for tested operations, but it does not show all MDS/OSD redundancy, cluster health or backup coverage.
Filesystems owns CephFS filesystem concepts; top-level Ceph owns cluster, PG, OSD, MDS and CRUSH implementation details.
Ceph maps client objects through pool/PG and CRUSH placement to acting OSDs; monitors provide cluster maps and managers expose telemetry. HEALTH_OK is cluster-level summary, not evidence of one RBD/file/object workload. Recovery/backfill can preserve availability while changing latency and redundancy margin, and a healthy PG state does not show the client path or filesystem layer. Close with Correlate the affected pool/PG/OSDs and client session, inspect recovery/error/latency for the same interval, then repeat the original I/O and verify data read-back. and state what the evidence does not show.
In depth
Seen as a filesystem from the client side, CephFS behaves like a shared POSIX filesystem that many Linux clients mount at once, similar to NFS but without a single server: metadata comes from MDS daemons and file data is read and written directly to Ceph OSDs.
| Mount method | Notes |
|---|---|
Kernel client (mount -t ceph) | Best performance; kernel version matters for features |
| ceph-fuse | User space; newer features on older kernels |
| NFS-Ganesha gateway | For clients that cannot run Ceph |
| Kubernetes CSI | ReadWriteMany volumes for pods |
mount -t ceph mon1,mon2,mon3:/ /mnt/cephfs -o name=app01,secretfile=/etc/ceph/app01.secret
# or with recent tooling:
mount -t ceph app01@.cephfs=/ /mnt/cephfs
ceph fs status
Client capabilities let the MDS coordinate caching across clients; a client that does not release capabilities can block others, visible as "clients failing to respond to capability release" warnings.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Filesystems → CephFS. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.kernel.org/filesystems/index.html · confidence 94%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.
Quick lookup tables
Filesystems → CephFS filesystem map
Fast namespace, metadata, capacity, attachment and verification boundaries for Filesystems → CephFS.
| 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 |