Pcornel
Storage · Storage Troubleshooting

Ceph HEALTH_ERR

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

Back to the Topic

Answer

Start from named health checks and affected pools/PGs, then inspect quorum/map availability, PG peering/state, OSD availability, failure domains, capacity and client I/O before force/repair operations.

Remember

  • HEALTH_ERR ≠ automatic data loss.
  • MON quorum ≠ data path healthy.
  • Force/recovery commands ≠ first diagnostic step.
  • PG active state ≠ clean/redundant state.

First checks

  • ceph health detail — errors
  • ceph pg dump_stuck inactive — inactive PGs
  • ceph osd tree — down OSDs

Commands

ceph df
ceph osd df
ceph pg <pgid> query
ceph pg repair
ceph osd set-full-ratio <ratio>
ceph -s
ceph health detail
smartctl

Verify in this order

error → data at risk → recovery

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_ERR proof map

Troubleshooting boundaryWhat to verifyProof limit
Scope / identityExact workload, object/device identity, affected hosts and incident windowSymptom naming alone is not root-cause proof
Dependency pathCeph HEALTH_ERR → named check → MON/map or PG state → acting OSDs/CRUSH → device/network/capacity → recovery/peering → client read/write verificationHealthy adjacent layers do not prove end-to-end health
Failure boundaryHEALTH_ERR proves a Ceph error-level health condition exists; it does not by itself prove permanent data loss, nor which recovery action is safe.Correlate evidence for the same operation and timestamps
AcceptanceHealthy evidence shows error health checks resolved, required PGs available/redundant and client reads/writes verified without new inconsistency.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=4405

Confirmation

Confirm action

Continue?