Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

HEALTH_ERR

Direct answer

Critical checks can include unavailable/incomplete PGs, severe capacity conditions, monitor/quorum issues or other states that require preserving evidence and prioritizing data availability over cosmetic cleanup.

When to use this

Use it when configuring, checking or troubleshooting HEALTH_ERR in Ceph.

First 30 seconds

1. HEALTH_ERR: data unavailable or at risk (inactive PGs, full OSDs, damaged objects).

2. Stop non-essential writes.

3. Fix full OSDs by adding capacity or adjusting ratios temporarily.

4. Bring down OSDs back if possible.

5. Get expert help before destructive actions.

Operational verification

error → data at risk → urgent recovery

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

HEALTH_ERR shows Ceph detected a critical condition, not that a particular repair is safe or that data is irretrievably lost.

Suspicious evidence: forced marking or PG repair without preserved evidence, full OSDs, incomplete/inactive PGs, quorum loss or health summary improved while data remains inaccessible.

Platform / version applicability
Ceph storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCeph storage
Scope / prerequisiteUse it when configuring, checking or troubleshooting HEALTH_ERR in Ceph.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

critical component condition → named health error → HEALTH_ERR aggregate → availability/integrity triage → evidence-preserving recovery → workload/read-back

Healthy evidence: critical checks are resolved through explained remediation, affected PGs/data are available with intended redundancy and application read-back succeeds.

Evidence references

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.

observation · 1
Key points
  • HEALTH_ERR ≠ proof of data loss.
  • HEALTH_ERR ≠ permission to force PG/OSD state.
  • Client outage ≠ every pool unavailable.
  • Health clear after force operation ≠ integrity proof.
Key checks
  • ceph health detail — errors
  • ceph pg dump_stuck inactive — inactive PGs
  • ceph osd df | sort -k17 -n | tail — full OSDs
ReferenceImportant terms & boundaries3 sections · depth on demand

Placement and what the checks show

HEALTH_ERR shows Ceph detected a critical condition, not that a particular repair is safe or that data is irretrievably lost.

HEALTH_ERR owns critical-state interpretation; Ceph Troubleshooting owns staged triage; Backup/DR owns independent recovery when data cannot be reconstructed safely.

In depth

Inconsistent PGs: find out what is wrong before repairing

The commonest integrity-related HEALTH_ERR is a scrub error that leaves a PG inconsistent. The Ceph PG troubleshooting guide gives this sequence.

# ceph health detail | grep inconsistent
    pg 2.1f is active+clean+inconsistent, acting [7,3,11]
# rados list-inconsistent-obj 2.1f --format=json-pretty
{
    "inconsistents": [
        { "object": { "name": "rbd_data.1a2b3c.0000000000000412" },
          "errors": [], "union_shard_errors": ["read_error"],
          "shards": [ { "osd": 7, "errors": ["read_error"] }, { "osd": 3, "errors": [] }, { "osd": 11, "errors": [] } ] }
    ]
}

What the guide says

PointDetail
No scrub information returnedRun ceph pg deep-scrub <pgid> first, then list again
read_error on one shardUsually a failing drive — check dmesg and smartctl, consider replacing the OSD
ceph pg repair <pgid>Deep scrub, choose an authoritative copy, recover the others
Mismatch with no shard errorRepair keeps the primary's copy, which may be the damaged one
No authoritative copyObject stays unrepaired; PG shows failed_repair

Stuck and unfound

  • ceph pg dump_stuck stale|inactive|unclean lists stuck PGs.
  • ceph pg <pgid> query → recovery_state shows what blocks peering.
  • ceph pg <pgid> list_unfound lists unfound objects; mark_unfound_lost revert|delete is a last step, after all possible locations have been queried.

Do not

Mark OSDs lost (ceph osd lost) to clear an error quickly — the guide warns that data consistency can then not be guaranteed.

*The inconsistent-object JSON illustrates shard-level read errors; it was not retrieved from a real RADOS pool.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Method

HEALTH_ERR means data is unavailable or at risk. Act in order:

1. ceph health detail — identify the exact check (PG_AVAILABILITY, OSD_FULL, inconsistent PGs, MON quorum lost).

2. Stop the bleeding: for OSD_FULL (95 %) writes are blocked — free space or temporarily raise full_ratio slightly while adding capacity.

3. For inactive/down/incomplete PGs, bring back the OSDs that held them; ceph pg <id> query lists which OSDs it is waiting for.

4. For inconsistent PGs, identify the bad replica before ceph pg repair.

Avoid destructive commands (osd lost, mark_unfound_lost delete, force-create-pg) until all original OSDs have been tried — they accept data loss.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCeph storage current

Authoritative/upstream documentation reviewed for bounded claims in Ceph → HEALTH_ERR. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.ceph.com/en/latest/ · confidence 94%
Terminology layer

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.

Aliases that resolve here
ceph health errHEALTH_ERRceph critical health
Embedded reference data

Quick lookup tables

Ceph → HEALTH_ERR Ceph map

Fast control-plane, placement, data-path and proof boundaries for Ceph → HEALTH_ERR.

Ceph boundaryWhat to verifyProof limit
Control / placementMON/map/auth, pool, PG and CRUSH context for the exact workloadCluster visibility or one healthy daemon does not prove the data path
Data / redundancyActing OSD set, device/network state, capacity and replica/EC availabilityUp/in or active state alone does not prove clean redundancy or integrity
Failure boundaryHEALTH_ERR proves Ceph detected a critical condition, not that a particular repair is safe or that data is irretrievably lost.Correlate Ceph, host, device and network evidence in the same time window
AcceptanceHealthy evidence: critical checks are resolved through explained remediation, affected PGs/data are available with intended redundancy and application read-back succeeds.Close only after original client operation plus redundancy/read-back verification
Confirmation

Confirm action

Continue?