Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

PG States

Direct answer

A PG can carry multiple state words simultaneously. Interpret availability (active/inactive), redundancy (clean/degraded/undersized), mapping (remapped) and background work (recovering/backfilling/scrubbing) as separate dimensions.

When to use this

Use it when configuring, checking or troubleshooting PG States in Ceph.

First 30 seconds

1. States: active+clean (good); degraded (missing copies); undersized; peering; backfilling/recovering; incomplete/down (bad).

2. Degraded during recovery is normal.

3. Inactive/incomplete stops I/O — urgent.

4. Query the PG to see blocking OSDs.

5. Don't mark OSDs lost without understanding.

Operational verification

PG peering → active → recovery → clean

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

A PG label describes state, not root cause; the same label can arise from OSD, network, capacity, CRUSH or history conditions.

Suspicious evidence: inactive, stale, incomplete, prolonged peering, degraded/undersized without progress, inconsistent or recovery states that stop changing.

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 PG States 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

cluster event → PG peering/state labels → availability/redundancy/consistency interpretation → OSD/failure-domain evidence → recovery progress

Healthy evidence: client-relevant PGs are active and, after expected maintenance/recovery, converge to the intended clean/consistent state.

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
  • active ≠ clean.
  • degraded ≠ inactive.
  • undersized ≠ necessarily unavailable.
  • active+clean+inconsistent ≠ healthy data consistency.
Key checks
  • ceph pg stat — states summary
  • ceph pg dump_stuck unclean — stuck PGs
  • ceph pg <pgid> query — state detail
ReferenceImportant terms & boundaries3 sections · depth on demand

Placement and what the checks show

A PG label describes state, not root cause; the same label can arise from OSD, network, capacity, CRUSH or history conditions.

In depth

active+clean is the goal; every other state tells you what Ceph is doing

# ceph pg stat
512 pgs: 498 active+clean, 10 active+undersized+degraded, 4 peering; 2.1 TiB data
# ceph pg dump_stuck inactive

States from the Ceph documentation

StateMeaning
activeThe PG is processing client requests
cleanEvery object has the full number of replicas
peeringThe OSDs holding the PG are agreeing on its state
degradedSome objects have fewer replicas than they should
undersizedFewer copies than the pool's replication level
recoveringObjects are being synchronised
backfillingThe whole PG is being rescanned and copied
backfill_toofullBackfill waits because the target OSD is above its backfillfull ratio
remappedTemporarily served by OSDs other than CRUSH's choice
staleMonitors have not received updates for the PG
inconsistentReplicas disagree or are damaged
incompleteLacks write history or healthy copies
downA replica with needed data is offline

Which states need action

CombinationTypical causeAction
active+undersized+degradedAn OSD is downRecovery runs when it returns or is marked out
active+remapped+backfillingCRUSH change, new OSDWait; watch ceph -s
backfill_toofullOSDs nearly fullAdd capacity, rebalance
staleAll OSDs of the PG downStart the OSDs
peering stuck, down, incompleteNeeded OSD offlineceph pg <pgid> query → peering_blocked_by
inconsistentScrub found differing copiesSee the PG troubleshooting guide before repairing

Clients can still read and write while PGs are active; inactive PGs block I/O to their objects.

*The placement-group counts illustrate a mixture of clean, degraded and peering states rather than a live cluster report.*

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

PG states

PG stateMeaning
active+cleanServing I/O, all replicas consistent
degradedFewer copies than size exist
undersizedFewer OSDs in the acting set than size
peeringOSDs agreeing on PG state; I/O blocked briefly
recovering / backfillingCopying data to restore redundancy or rebalance
remappedData temporarily served from other OSDs than CRUSH wants
inconsistentScrub found replicas that differ
incomplete / downNot enough OSDs with authoritative data — I/O blocked
stalePrimary OSD has not reported to the MONs
ceph pg stat
ceph pg dump_stuck unclean
ceph pg 2.1f query | less
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 → PG States. 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 pg statesactive clean degradedpeering undersized
Embedded reference data

Quick lookup tables

Ceph → PG States Ceph map

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

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 boundaryA PG label describes state, not root cause; the same label can arise from OSD, network, capacity, CRUSH or history conditions.Correlate Ceph, host, device and network evidence in the same time window
AcceptanceHealthy evidence: client-relevant PGs are active and, after expected maintenance/recovery, converge to the intended clean/consistent state.Close only after original client operation plus redundancy/read-back verification
Confirmation

Confirm action

Continue?