Use it when configuring, checking or troubleshooting Backfill in Ceph.
Backfill
Backfill commonly follows CRUSH remapping, OSD addition/reweighting or topology change. It consumes capacity and bandwidth and may be blocked or throttled by fullness and backfill policy.
1. Backfill copies whole PGs to new OSDs (after adding/replacing/out).
2. Heavy on network and disks.
3. backfill_toofull = target OSD too full.
4. Throttle during business hours.
5. Wait for completion before more changes.
PG remapped → backfill → clean on new OSDs
Context & applicabilityCommon mistakes · platform/version boundaries
Backfill activity shows remapped data movement, but it does not show final balance, root-cause resolution or application performance.
Suspicious evidence: backfill_wait/backfill_toofull, no progress, repeated remaps, hot source/target OSDs or capacity skew worsening.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
placement change → PG remap → source object enumeration/copy → target OSD population → acting set convergence → clean state
Healthy evidence: backfill progresses without capacity safety violations, PGs converge to intended acting sets and workload stays within baseline.
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.
- Backfill ≠ ordinary client replication.
- backfilling ≠ root cause.
- Backfill complete ≠ rebalance optimal.
- Backfill target available ≠ enough free capacity.
ceph -s | grep backfill— backfilling PGsceph pg ls backfilling— listceph config get osd osd_max_backfills— throttle
ReferenceImportant terms & boundaries2 sections · depth on demand
Placement and what the checks show
Backfill activity shows remapped data movement, but it does not show final balance, root-cause resolution or application performance.
Backfill owns remap population mechanics; Rebalancing owns distribution goal; CRUSH/Autoscaler own causes of placement/PG movement.
In depth
Backfill copies whole PGs to OSDs that are new in the PG's acting set — after adding OSDs, changing CRUSH weights or replacing an OSD. Recovery, by contrast, catches up a PG whose OSDs missed some writes using the PG log.
Backfill competes with client I/O. Throttle with osd_max_backfills and osd_recovery_max_active (or, with the mClock scheduler in Quincy and later, choose a profile):
ceph config set osd osd_mclock_profile high_client_ops # favour clients
ceph config set osd osd_mclock_profile high_recovery_ops # finish faster
ceph -s | grep -A3 'recovery\|backfill'
backfill_toofull means a target OSD is above backfillfull_ratio (default 90 %).
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Ceph → Backfill. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.ceph.com/en/latest/ · confidence 94%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.
Quick lookup tables
Ceph → Backfill Ceph map
Fast control-plane, placement, data-path and proof boundaries for Ceph → Backfill.
| Ceph boundary | What to verify | Proof limit |
|---|---|---|
| Control / placement | MON/map/auth, pool, PG and CRUSH context for the exact workload | Cluster visibility or one healthy daemon does not prove the data path |
| Data / redundancy | Acting OSD set, device/network state, capacity and replica/EC availability | Up/in or active state alone does not prove clean redundancy or integrity |
| Failure boundary | Backfill activity proves remapped data movement; it does not prove final balance, root-cause resolution or application performance. | Correlate Ceph, host, device and network evidence in the same time window |
| Acceptance | Healthy evidence: backfill progresses without capacity safety violations, PGs converge to intended acting sets and workload stays within baseline. | Close only after original client operation plus redundancy/read-back verification |