Pcornel
Virtualization · Proxmox VE › Ceph

Ceph Troubleshooting

Cheat sheet · https://pcornel.dk/topic.php?topic=3761

Back to the Topic

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 warnings
  • ceph -w — live events
  • journalctl -u ceph-osd@<id> --since -1h — OSD logs

Commands

ceph health detail
ceph pg <pgid> query
ceph pg repair
ceph df
ceph osd df tree
systemctl status ceph-osd@<id>
journalctl -u ceph-osd@<id>
smartctl -a /dev/sdX
ceph -s
ceph quorum_status
ceph osd tree
ceph osd df
ceph pg dump_stuck
ceph daemon osd.<id> dump_ops_in_flight
ceph osd perf
ceph 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

BoundaryWhat to verifyEvidence limit
Configured stateExpected Ceph Troubleshooting configuration is presentConfiguration alone does not prove runtime behavior
Runtime stateRelevant Ceph Troubleshooting service/object is active and error-freeRuntime state does not prove dependencies
DependencyBacking network, storage, cluster or host dependency is healthyLocal success does not prove end-to-end outcome
AcceptanceOriginal VM/container/workload test succeedsRequired 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

Confirmation

Confirm action

Continue?