Ceph Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=3761
Answer
Ceph troubleshooting starts with ceph health detail and the time and scope of the problem, then links the warnings to the affected OSDs, pools and clients. Health messages are clues to follow, not always the root cause.
Remember
- HEALTH_WARN ≠ root cause by itself.
- OSD down ≠ data lost.
- active+clean ≠ latency healthy.
- No Ceph warning ≠ guest I/O path healthy.
First checks
ceph health detail— exact warningsceph -w— live eventsjournalctl -u ceph-osd@<id> --since -1h— OSD logs
Commands
ceph health detailceph pg <pgid> queryceph pg repairceph dfceph osd df treesystemctl status ceph-osd@<id>journalctl -u ceph-osd@<id>smartctl -a /dev/sdXceph -sceph quorum_statusceph osd treeceph osd dfceph pg dump_stuckceph daemon osd.<id> dump_ops_in_flightceph osd perfceph osd set noout
Verify in this order
warning → component → cause → fix → HEALTH_OK
Where it usually breaks
First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.
Proxmox VE → Ceph → Ceph Troubleshooting reference map
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Configured state | Expected Ceph Troubleshooting configuration is present | Configuration alone does not prove runtime behavior |
| Runtime state | Relevant Ceph Troubleshooting service/object is active and error-free | Runtime state does not prove dependencies |
| Dependency | Backing network, storage, cluster or host dependency is healthy | Local success does not prove end-to-end outcome |
| Acceptance | Original VM/container/workload test succeeds | Required to close the incident |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3761