Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

CephFS · Filesystems

Direct 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.

When to use this

Use it when configuring, checking or troubleshooting CephFS in Filesystems.

First 30 seconds

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.

Operational verification

client → MDS (metadata) + OSDs (data)

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and repair traps

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.

Platform / version applicability
Storage architecture and operations
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformStorage architecture and operations
Scope / prerequisiteUse it when configuring, checking or troubleshooting CephFS in Filesystems.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • CephFS MDS healthy ≠ OSD/data path healthy.
  • Mounted client ≠ cluster HEALTH_OK.
  • CephFS ≠ Ceph RBD.
  • Replication in Ceph ≠ backup.
Key checks
  • ceph fs status — CephFS status
  • ceph mds stat — MDS state
  • findmnt -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 methodNotes
Kernel client (mount -t ceph)Best performance; kernel version matters for features
ceph-fuseUser space; newer features on older kernels
NFS-Ganesha gatewayFor clients that cannot run Ceph
Kubernetes CSIReadWriteMany 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docStorage architecture and operations current

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%
Terminology layer

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.

Aliases that resolve here
cephfsceph filesystemceph fs
Embedded reference data

Quick lookup tables

Filesystems → CephFS filesystem map

Fast namespace, metadata, capacity, attachment and verification boundaries for Filesystems → CephFS.

Filesystem boundaryWhat to verifyProof limit
Identity / attachmentFilesystem type, source/backing object, mount/attachment target and effective optionsPresence or mount state alone does not prove consistency or lower-layer health
Capacity / metadataData space, metadata/inodes, quotas/reservations and filesystem stateFree bytes at one layer do not prove allocation can succeed end to end
Failure boundaryA 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
AcceptanceHealthy 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
Confirmation

Confirm action

Continue?