Use it for the first look at a Ceph cluster: is it healthy, is data available, and is there room.
Ceph
Ceph is distributed storage: data is stored as objects in pools, split into placement groups, and spread by the CRUSH algorithm over OSDs — one per disk — on different hosts. Monitors keep the cluster map; clients talk directly to the OSDs.
1. Ceph is distributed storage: RADOS objects served as block (RBD), file (CephFS) and object (RGW).
2. Health needs MON quorum, active MGR, OSDs up/in and PGs active+clean.
3. Keep below nearfull (85 %).
4. Separate public and cluster networks.
5. HEALTH_OK does not prove client latency is fine.
client → MON maps → CRUSH → PG → OSDs → disks
Context & applicabilityCommon mistakes · platform/version boundaries
It does not show backup coverage, application consistency, physical failure-domain independence, causation outside the observed time window or safety of destructive/force operations. A green summary shows only current checks are not reporting a warning, but it does not show every client path, object, replica, device, failure domain or backup is healthy.
Suspicious evidence: HEALTH_WARN/ERR, unexpected monitor quorum, OSD down/out, inactive or degraded PGs, capacity pressure, slow ops, repeated recovery or a healthy summary while one client service still fails.
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.
ceph orch ps [--daemon-type <type>]Primary Commands
Configuration and operational commands for this Topic.
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
client service (RBD/CephFS/RGW/librados) → MON map/auth → pool → PG → CRUSH → acting OSD set → BlueStore/media → acknowledgement/read-back
Healthy evidence: monitors have quorum, expected daemons are present, PGs are available with intended redundancy, capacity is below risk thresholds and a representative client read/write/read-back succeeds.
Step 2 Operational verification Verify boundary
Distributed storage health, MON/MGR/OSD roles, pools, placement groups, CRUSH and recovery behavior.
Fast verification
- Start with
ceph -s/ceph health detail, thenceph osd treeandceph df.
- Separate MON quorum/control-plane health from OSD/data-placement health.
- Follow degraded/undersized PGs to the affected OSD/failure domain before changing CRUSH or reweighting.
Step 3 Verification & troubleshooting Narrow the fault
Path: Storage → Ceph. Local intent: Ceph is a distributed storage platform that exposes object, block and file services on top of RADOS while distributing placement, replication or erasure coding and recovery across storage daemons.
Step 4 Quality lift: branching diagnosis Narrow the fault
Concrete boundaries: client/RBD/CephFS → pool/object → PG mapping → acting set/OSDs → device/WAL/DB → acknowledgements → client completion → read-back.
Evidence · 2 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Healthy evidence: monitors have quorum, expected daemons are present, PGs are available with intended redundancy, capacity is below risk thresholds and a representative client read/write/read-back succeeds. Suspicious evidence: HEALTH_WARN/ERR, unexpected monitor quorum, OSD down/out, inactive or degraded PGs, capacity pressure, slow ops, repeated recovery or a healthy summary while one client service still fails.
command output · Documented exampleCeph local healthy-state checkpointThe expected object, scope, state and counters match a controlled test.
Subtopics
Go one level deeper into this subject.
Ceph Architecture separates cluster-map authority, data placement and client-facing services across MON, MGR, OSD and optional MDS/RGW components.
Subtopic RADOSRADOS is Ceph’s distributed object-storage foundation: it stores objects in pools and coordinates placement, replication or erasure coding, consistency and recovery across OSDs.
Subtopic MONCeph Monitor (MON) daemons maintain authoritative cluster maps and use quorum to provide consistent cluster state to clients and daemons.
Subtopic MGRCeph Manager (MGR) daemons provide cluster management, telemetry and module endpoints such as dashboard, metrics and orchestration integrations.
Subtopic OSDObject Storage Daemons (OSDs) store RADOS objects on local devices, serve client I/O, peer PGs, replicate or encode writes and participate in recovery, backfill and scrub.
Subtopic MDSMetadata Server (MDS) daemons manage CephFS namespace metadata, directory hierarchy, metadata locks/capabilities and client metadata sessions.
Subtopic PoolsCeph pools are logical partitions of RADOS objects that define placement and durability policy including replicated or erasure-coded layout, CRUSH rule, PG count and application association.
Subtopic Placement GroupsPlacement Groups (PGs) are per-pool placement and recovery units that aggregate RADOS objects so Ceph can track distributed state at scalable granularity.
Subtopic PG StatesPG States are composable labels such as active, clean, degraded, undersized, peering, remapped, recovering, backfilling, stale or inconsistent that describe availability and recovery condition.
Subtopic CRUSHCRUSH is Ceph’s deterministic placement algorithm and hierarchy/rule system used to map PGs across OSDs according to weights, device classes and failure-domain policy.
Subtopic Failure DomainsCeph failure domains describe the independent hardware or location boundaries across which CRUSH should place replicas or erasure-code shards to survive correlated failures.
Subtopic Replicated PoolA replicated pool stores multiple full copies of each RADOS object according to pool size and CRUSH placement policy.
Subtopic Erasure CodingCeph erasure-coded pools split object data into k data chunks plus m coding chunks so data can be reconstructed after loss of up to the policy’s tolerated shard failures, subject to CRUSH placement and availability rules.
Subtopic RBDRADOS Block Device (RBD) presents thin-provisioned block images backed by objects in Ceph pools and consumed by hosts, hypervisors or containers through librbd/kernel clients.
Subtopic CephFSCephFS is Ceph’s distributed POSIX-like filesystem that stores file data in RADOS pools and relies on MDS daemons for namespace and metadata operations.
Subtopic RGWRADOS Gateway (RGW) exposes object-storage APIs such as S3 and Swift while storing bucket metadata, indexes and object data in Ceph RADOS pools.
Subtopic RecoveryCeph recovery restores missing or stale replicas/erasure-code shards after OSD or placement changes so PGs can regain intended redundancy.
Subtopic BackfillCeph backfill copies objects to an OSD when PG placement changes and the destination needs a broader population transfer to match the new acting set.
Subtopic RebalancingCeph rebalancing is the broader redistribution of PG/object placement after topology, weight, device, capacity or PG-count changes so data converges toward current CRUSH policy.
Subtopic ScrubbingCeph scrubbing compares object metadata and integrity information across PG replicas or shards to detect inconsistencies; regular scrub is lighter than deep scrub.
Subtopic Deep ScrubCeph deep scrub performs a more intensive PG consistency check that reads object data and verifies stored/calculated checksums across replicas or shards.
Subtopic AutoscalerCeph PG autoscaler estimates appropriate placement-group counts per pool from usage, target sizing and pool characteristics and can apply or recommend pg_num changes depending on mode.
Subtopic HEALTH_OKHEALTH_OK is Ceph’s top-level health summary when currently enabled health checks report no warning or error condition.
Subtopic HEALTH_WARNHEALTH_WARN means one or more Ceph health checks report a warning condition that requires expansion into named checks and affected components before remediation.
Subtopic HEALTH_ERRHEALTH_ERR is Ceph’s top-level critical health state indicating one or more error-class conditions with potentially immediate availability, integrity or operational risk.
Subtopic Cluster NetworkCeph cluster network is an optional private/back-side network used by OSDs for heartbeat, object replication, recovery and backfill when configured separately from the public network.
Subtopic Public NetworkCeph public network is the front-side network used by Ceph clients and monitors and, unless a separate cluster network is configured, can also carry OSD heartbeat, replication, recovery and backfill traffic.
Subtopic Ceph TroubleshootingCeph Troubleshooting isolates distributed-storage failures by preserving time-correlated evidence and finding the first failed boundary across client service, MON maps/quorum, pool/PG/CRUSH placement, OSD/device, networks and capacity.
active+clean is the normal placement group state. Degraded means fewer copies but data available; inactive, down or incomplete means requests hang. An OSD at 95 % blocks writes — plan to stay under about 75 %. Monitors need a majority.
ceph -s— overall statusceph health detail— warnings explainedceph df— raw and pool usage
ReferenceWhat it is2 sections · depth on demand
Operational scope
Distributed storage health, MON/MGR/OSD roles, pools, placement groups, CRUSH and recovery behavior.
Operational checks for Ceph — Operational scope: Anchor stable filesystem/volume/LUN/share/device identities across host, path/fabric, controller/pool and media so retries or multipath do not hide the failed leg. 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.
What it is
Distributed storage health, MON/MGR/OSD roles, pools, placement groups, CRUSH and recovery behavior.
Operational checks for Ceph — What it is: Anchor stable filesystem/volume/LUN/share/device identities across host, path/fabric, controller/pool and media so retries or multipath do not hide the failed leg. 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.
ReferenceWhy it matters2 sections · depth on demand
When to use it
Use Ceph when the problem concerns block devices, pools, placement, filesystems, snapshots, backup/restore or performance.
Operational checks for Ceph — When to use it: Anchor stable filesystem/volume/LUN/share/device identities across host, path/fabric, controller/pool and media so retries or multipath do not hide the failed leg. 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.
Quality lift: concrete internals
Ceph quality lift — inspect the concrete Ceph object placement and I/O path mechanics rather than treating existing coverage as completion. 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.
ReferenceHow it works1 section · depth on demand
How it works
The daemons.
| Daemon | Role |
|---|---|
| MON (monitor) | Keeps the cluster maps — the authoritative record of which daemons exist and their state. An odd number (3 or 5) runs, and a majority must agree |
| MGR (manager) | Statistics, the dashboard and management modules |
| OSD | Stores the data; normally one per disk. Also handles replication and recovery |
| MDS | Metadata for the CephFS filesystem only |
| RGW | The S3-compatible object gateway |
How data is placed. Everything is stored as objects in pools. Each pool is divided into *placement groups* (PGs); an object's name is hashed to a placement group, and the CRUSH algorithm maps each placement group to a set of OSDs on different hosts. Clients compute this themselves from the cluster map and talk directly to the right OSDs — there is no central lookup server in the data path.
Redundancy. A replicated pool has a size (number of copies, usually 3) and a min_size (copies that must be available for writes to be accepted, usually 2). Erasure-coded pools store data and parity chunks instead and use less space.
Three ways to use it. RBD — block devices for virtual machines; CephFS — a shared filesystem; RGW — object storage.
Self-healing. When an OSD fails, the placement groups it held are degraded. After a waiting period Ceph creates new copies on other OSDs (recovery and backfill), until every placement group is active+clean again.
Reading the state.
ceph -s
ceph health detail
ceph osd tree
ceph df
ceph -s shows the health (HEALTH_OK, HEALTH_WARN, HEALTH_ERR), the monitors in quorum, how many OSDs are up and in, and the placement group states. ceph health detail explains every warning.
| Placement group state | Meaning |
|---|---|
active+clean | Normal |
degraded | Fewer copies than size; data still available |
undersized | Fewer OSDs assigned than size |
recovering, backfilling | Copies being rebuilt |
peering | OSDs agreeing on the state; I/O waits |
inactive, down, incomplete | Data unavailable — requests hang |
Capacity. Ceph warns when an OSD is 85 % full (nearfull), stops backfill at 90 % and blocks writes at 95 % (full). Because the cluster must be able to re-create the data of a failed host on the remaining ones, usable capacity is well below the raw total; plan to stay under roughly 70–80 %.
ReferenceImportant terms & boundaries2 sections · depth on demand
Placement and what the checks show
A green summary shows only current checks are not reporting a warning, but it does not show every client path, object, replica, device, failure domain or backup is healthy.
Key operational limits
- Preserve device identity, topology and redundancy before repair or removal
- Capacity, integrity, availability and performance are separate health dimensions
- Backup success is incomplete until an isolated restore shows recoverability and timing
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. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.ceph.com/en/latest/ · confidence 94%What changed and what may be affected
Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.
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 Ceph map
Fast control-plane, placement, data-path and proof boundaries for Ceph.
| 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 green summary proves only current checks are not reporting a warning; it does not prove every client path, object, replica, device, failure domain or backup is healthy. | Correlate Ceph, host, device and network evidence in the same time window |
| Acceptance | Healthy evidence: monitors have quorum, expected daemons are present, PGs are available with intended redundancy, capacity is below risk thresholds and a representative client read/write/read-back succeeds. | Close only after original client operation plus redundancy/read-back verification |
Ceph evidence chain
Configuration, operational state, counters and downstream proof remain separate.
| Boundary | Question | Evidence | Does not prove |
|---|---|---|---|
| Definition | What is configured or intended? | running configuration / controller policy | live operation |
| Local state | Is the feature active at the expected scope? | ceph -s | remote success |
| Counters | Did controlled traffic or an event reach this stage? | scoped counters/timestamps | complete return path |
| Next boundary | What consumes or transports this state? | physical device/failure domain → pool/volume/placement → filesystem/dataset → consumer I/O → backup/replica → tested restore | application success |