Use it when configuring, checking or troubleshooting CephFS in Ceph.
CephFS · Ceph
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.
1. CephFS is a POSIX filesystem with MDS metadata.
2. Metadata pool on fast media.
3. Client caps and quotas.
4. Subvolumes for Kubernetes/Manila.
5. Snapshots per directory (.snap).
client → MDS + OSDs → files
Context & applicabilityCommon mistakes · platform/version boundaries
A mounted client shows partial control/data-path success, not complete MDS redundancy, every data PG, permissions or application correctness.
Suspicious evidence: laggy/damaged MDS state, stale sessions, metadata pool issues, data PG degradation, permission errors or successful mount with failing writes.
Next check: Continue at the first failing step in MON/MGR/OSD/MDS, Pools/PG/CRUSH, client service (RBD/CephFS/RGW), public/cluster Networking, Storage Performance, Physical Media or Backup/DR; preserve evidence, make one minimal change and repeat the original workload plus redundancy/read-back verification.
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 → CephFS client → MDS metadata/session → metadata pool; file data → data pool → PG/CRUSH → OSDs
Healthy evidence: MDS ranks and pools are healthy, client sessions progress, permissions are correct and representative namespace/data operations persist.
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 → Ceph → CephFS. Local intent: CephFS is Ceph’s distributed POSIX-like filesystem that stores file data in RADOS pools and relies on MDS daemons for namespace and metadata operations.
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 ≠ RBD.
- MDS healthy ≠ data-pool healthy.
- Mounted CephFS ≠ writable path.
- POSIX-like semantics ≠ local filesystem latency/behavior.
ceph fs status— filesystem and MDSceph fs ls— data/metadata poolsmount -t ceph <mon>:/ /mnt -o name=<user>— client mount
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 → Ceph → CephFS. Local intent: CephFS is Ceph’s distributed POSIX-like filesystem that stores file data in RADOS pools and relies on MDS daemons for namespace and metadata operations.
ReferenceImportant terms & boundaries2 sections · depth on demand
Placement and what the checks show
A mounted client shows partial control/data-path success, not complete MDS redundancy, every data PG, permissions or application correctness.
In depth
Within a Ceph cluster, CephFS is the POSIX filesystem layer built on two RADOS pools — one for metadata and one for data — plus Metadata Server (MDS) daemons that manage the directory tree, permissions and client capabilities. File contents go directly from clients to OSDs; only metadata passes through the MDS.
| Component | Purpose |
|---|---|
| Metadata pool | Directory and inode objects (keep on fast media, replicated) |
| Data pool(s) | File contents (replicated or erasure coded) |
| Active MDS | Serves metadata; can be several for scaling |
| Standby MDS | Takes over on failure |
| Subvolumes | Managed directories with quotas, used by Kubernetes CSI |
ceph fs volume create cephfs
ceph fs status
ceph fs subvolume create cephfs app01 --size 107374182400
ceph auth get-or-create client.app01 mon 'allow r' mds 'allow rw path=/volumes/_nogroup/app01' osd 'allow rw pool=cephfs.cephfs.data'
Always run at least one standby MDS; without it, an MDS failure stops all metadata operations for the filesystem.
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 Ceph → CephFS. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.ceph.com/en/latest/ · 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
Ceph → CephFS Ceph map
Fast control-plane, placement, data-path and proof boundaries for Ceph → CephFS.
| 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 |