Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Recovery

Direct answer

When a PG identifies missing objects/shards, OSDs transfer required data from authoritative peers to destinations. Recovery competes with client I/O for device, CPU and network resources and should be evaluated against redundancy risk and service objectives.

When to use this

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

First 30 seconds

1. Recovery restores missing object copies after failures.

2. Uses log-based recovery when possible.

3. Competes with client I/O — tune throttles.

4. Don't take more OSDs down during recovery.

5. Wait for HEALTH_OK.

Operational verification

failure → degraded PGs → recovery → clean

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

Recovery counters show data movement, not that the root failure is fixed, sufficient redundancy has returned everywhere or client SLOs are met.

Suspicious evidence: recovery stalls, repeats after flapping OSDs, saturates network/media, is blocked by full ratios or leaves PGs degraded/inactive.

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 Recovery 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.

2 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

failure/state change → PG identifies missing/stale content → authoritative source OSD → recovery transfer → target shard/replica → PG clean

Healthy evidence: recovery makes steady progress, source/destination paths are healthy, PG redundancy returns and workload impact remains within accepted bounds.

Step 2 Where it fails Narrow the fault

Recovery should repair the earliest failing step and retain a reversible path. Avoid widening permissions, clearing metadata, forcing imports/assemblies, removing members or destroying snapshots solely to make status green. Those actions can erase the evidence or the only good copy.

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
  • Recovery ≠ backfill in every context.
  • Recovery progress ≠ client performance acceptable.
  • Slower recovery ≠ safer automatically.
  • active+clean after recovery ≠ application integrity proof.
Key checks
  • ceph -s — recovery progress
  • ceph osd pool stats — recovery rates per pool
  • ceph config get osd osd_recovery_max_active — recovery throttle
ReferenceWhy it matters1 section · depth on demand

How it works in operation

Recovery/backfill can preserve availability while changing latency and redundancy margin, and a healthy PG state does not show the client path or filesystem layer.

ReferenceHow it works1 section · depth on demand

How it works

How it works: Ceph maps client objects through pool/PG and CRUSH placement to acting OSDs; monitors provide cluster maps and managers expose telemetry. Recovery/backfill can preserve availability while changing latency and redundancy margin, and a healthy PG state does not show the client path or filesystem layer.

ReferenceImportant terms & boundaries2 sections · depth on demand

Placement and what the checks show

Recovery counters show data movement, not that the root failure is fixed, sufficient redundancy has returned everywhere or client SLOs are met.

Recovery/backfill can preserve availability while changing latency and redundancy margin, and a healthy PG state does not show the client path or filesystem layer.

In depth

Ceph recovery is the process where OSDs restore the configured number of copies after an OSD, host or disk fails or returns. Ceph first marks a failed OSD down, then out after a timeout (default 10 minutes), and then re-replicates its placement groups to other OSDs. Backfill moves data when the CRUSH map changes, for example when OSDs are added.

PG stateMeaning
degradedFewer copies than configured
recoveringCopying changed objects to returning OSDs
backfillingMoving whole PGs to new locations
undersizedFewer OSDs in the acting set than pool size

Recovery competes with client I/O; options like osd_mclock_profile (high_client_ops vs high_recovery_ops) balance the two. During planned maintenance, set noout so Ceph does not start unnecessary rebalancing.

ceph osd set noout          # before maintenance
ceph -w
ceph pg stat
ceph osd unset noout
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 → Recovery. 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 recoveryceph recoveringosd recovery
Embedded reference data

Quick lookup tables

Ceph → Recovery Ceph map

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

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 boundaryRecovery counters prove data movement, not that the root failure is fixed, sufficient redundancy has returned everywhere or client SLOs are met.Correlate Ceph, host, device and network evidence in the same time window
AcceptanceHealthy evidence: recovery makes steady progress, source/destination paths are healthy, PG redundancy returns and workload impact remains within accepted bounds.Close only after original client operation plus redundancy/read-back verification
Confirmation

Confirm action

Continue?