Use it as the entry point when something on Ceph fails and you need to find the failing layer.
Ceph Troubleshooting
Start from the exact workload symptom and timestamp, then use ceph status and health detail only as broad triage. Narrow to affected service, pool/PG and acting OSDs before any force, repair, reweight, out/in or destructive replacement operation.
1. Read health detail, then target the component.
2. Slow ops: check OSD latency, disks, network.
3. OSD flapping: network or overloaded disks.
4. Full: add capacity.
5. Avoid restarting many daemons at once.
symptom → health detail → component → fix
Context & applicabilityCommon mistakes · platform/version boundaries
Troubleshooting is complete only when the first failing step and causal mechanism are explained and the original workload plus redundancy checks succeed; a green health summary or restarted daemon alone is not root-cause evidence.
Suspicious evidence: force operations without PG history, marking OSDs out before distinguishing process/network/device cause, broad configuration changes, muted checks or symptom disappearance after reboot with no causal evidence.
Operational reference
Fast context before you go deeper.
ceph -sPrimary Commands
Configuration and operational commands for this Topic.
ceph -sReferenceCompact Ceph health/status summary.
Use when: Use after confirming the Ceph target and before changing state.
Quick note: Ceph / ZFS / LVM / Linux filesystems and backup systems. A healthy summary can hide a failed component, weak failure-domain placement, latent corruption or an untested recovery path.
Ceph · mixedceph health detailVerifyShow detailed Ceph health checks.
Use when: Use after confirming the Ceph target and before changing state.
Quick note: Ceph / ZFS / LVM / Linux filesystems and backup systems. A healthy summary can hide a failed component, weak failure-domain placement, latent corruption or an untested recovery path.
Ceph · mixedVerification & 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
symptom/time → client service → MON/map/auth → pool/PG → CRUSH/acting set → OSD/device + public/cluster network + capacity → minimal change → original-test/read-back → regression
Healthy evidence: the original failing workload succeeds, health state is explained, PG redundancy is restored as intended and no regression appears on adjacent clients/services.
Step 2 Command read-back and what it shows Verify boundary
Verification must discriminate state rather than merely show that a command ran. With ceph -s, known-good means required monitors are in quorum, expected OSDs/PGs are available without unresolved degraded/inactive state, capacity is within policy and the original client I/O succeeds; known-broken/suspicious means health warnings/errors, unavailable/degraded PGs, missing OSDs or recovery/capacity conditions persist and the workload remains impaired. ceph -s shows a high-level cluster health snapshot; it does not by itself identify a failed disk/network component or show client-specific latency and data-path health. Repeat the original acceptance case after the minimal approved change. The result/status/state/value/configuration must expose a concrete discriminator; successful/healthy and failed/degraded outcomes remain separate from observed capture or external-source provenance.
Step 3 Observation-driven branch and next-check logic Narrow the fault
Reproduce the smallest original Ceph → Ceph Troubleshooting case and record ceph -s before change. Choose the next check from the observation: if quorum/monitor issue appears, repair control-plane reachability/state first; if OSD down/out or PG degraded/inactive appears, isolate affected OSD/host/path and PGs; if nearfull/backfillfull appears, address capacity/placement before recovery stalls; if cluster summary is healthy, move to client, pool, network and latency-specific evidence. Compare a known-good peer/revision where useful and stop once the earliest failing step is identified. An error, failed result, unexpected state, stale observation or missing object is evidence for the next branch, not automatic root cause.
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.
- Symptom ≠ root cause.
- HEALTH_WARN/ERR ≠ diagnosis.
- OSD down ≠ failed disk automatically.
- Temporary recovery ≠ durable fix.
ceph health detail— firstceph -w— live logceph daemon osd.<id> dump_historic_slow_ops— slow ops detail
ReferenceHow it works1 section · depth on demand
How it works
Ceph → Ceph Troubleshooting is a state pipeline rather than one command outcome. The responsible state is monitor quorum and cluster map authority, manager state, OSD membership/up-in state, placement-group state, pool capacity and recovery/backfill activity. Ceph clients rely on monitor-provided maps and OSD placement; PGs aggregate object placement/availability state, so quorum, OSD loss, capacity pressure or peering/recovery conditions propagate into health and I/O behavior; meanwhile host disks, BlueStore/WAL/DB devices, network latency/loss, clock, CRUSH layout and client/kernel/librados behavior are distinct boundaries behind the cluster summary. Boundary distinction: HEALTH_WARN is a classification, not root cause, and a HEALTH_OK summary does not show every client workload path or latency objective is healthy.
ReferenceImportant terms & boundaries2 sections · depth on demand
Placement and what the checks show
Troubleshooting is complete only when the first failing step and causal mechanism are explained and the original workload plus redundancy checks succeed; a green health summary or restarted daemon alone is not root-cause evidence.
Method
Ceph troubleshooting starts with ceph health detail, which names each health check, then follows the affected component.
1. Overall state: ceph -s — MON quorum, OSDs up/in, PG states, client I/O.
2. Health checks: ceph health detail gives codes such as OSD_DOWN, PG_DEGRADED, MON_DISK_LOW, SLOW_OPS.
3. Component: OSD logs, ceph osd perf, network between nodes, disk health.
4. PGs: ceph pg dump_stuck, ceph pg <pgid> query.
5. Capacity: ceph df, ceph osd df — nearfull/full ratios.
ceph health detail
ceph osd tree down
ceph pg dump_stuck unclean
ceph osd df tree
ceph crash ls
journalctl -u ceph-osd@12 --since '1 hour ago'
Avoid quick fixes such as marking OSDs lost or deleting PGs without understanding the cause — these can cause permanent data loss.
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 → Ceph Troubleshooting. 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 → Ceph Troubleshooting Ceph map
Fast control-plane, placement, data-path and proof boundaries for Ceph → Ceph Troubleshooting.
| 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 | Troubleshooting is complete only when the first failed boundary and causal mechanism are explained and the original workload plus redundancy checks succeed; a green health summary or restarted daemon alone is not root-cause proof. | Correlate Ceph, host, device and network evidence in the same time window |
| Acceptance | Healthy evidence: the original failing workload succeeds, health state is explained, PG redundancy is restored as intended and no regression appears on adjacent clients/services. | Close only after original client operation plus redundancy/read-back verification |