Ceph HEALTH_WARN
Cheat sheet · https://pcornel.dk/topic.php?topic=4404
Answer
Resolve health detail → affected pool/PG → acting OSDs/failure domains → capacity/device/network state → recovery/scrub status → client workload. Severity can be WARN while client impact ranges from none to substantial.
Remember
- HEALTH_WARN ≠ cluster failure.
- HEALTH_WARN ≠ harmless; some warnings predict redundancy or capacity risk.
- OSDs up/in ≠ PGs active+clean.
- Clearing a warning ≠ original client workload healthy.
First checks
ceph health detail— warningsceph osd df— nearfullceph crash ls-new— crashes
Commands
systemctl status ceph-osd@4ceph osd dfceph pg deep-scrub <pgid>ceph daemon osd.<id> opsceph osd unset nooutceph health mute <CODE> <duration>ceph health unmuteceph crash lsceph crash archive
Verify in this order
warning → detail → cause → fix
Where it usually breaks
First mismatch in media/provider → controller/pool → logical object → path/protocol → filesystem/share/object namespace → consumer workload; preserve identity/pre-state before mutation.
Storage Troubleshooting → Ceph HEALTH_WARN proof map
| Troubleshooting boundary | What to verify | Proof limit |
|---|---|---|
| Scope / identity | Exact workload, object/device identity, affected hosts and incident window | Symptom naming alone is not root-cause proof |
| Dependency path | Ceph health summary → named health check → pool/PG → acting OSD set → CRUSH/failure domain → device/network/capacity → client service → read-back | Healthy adjacent layers do not prove end-to-end health |
| Failure boundary | HEALTH_WARN proves one or more Ceph health checks are warning; it does not identify client impact or root cause until named details and affected objects are correlated. | Correlate evidence for the same operation and timestamps |
| Acceptance | Healthy evidence shows named warnings resolved or understood, PGs in expected state, redundancy/capacity restored and client I/O verified. | Close only after the original workload/recovery test and regression check |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4404