Storage · Ceph
Backfill
Cheat sheet · https://pcornel.dk/topic.php?topic=4051
Answer
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.
Remember
- Backfill ≠ ordinary client replication.
- backfilling ≠ root cause.
- Backfill complete ≠ rebalance optimal.
- Backfill target available ≠ enough free capacity.
First checks
ceph -s | grep backfill— backfilling PGsceph pg ls backfilling— listceph config get osd osd_max_backfills— throttle
Verify in this order
PG remapped → backfill → clean on new OSDs
Where it usually breaks
First mismatch in member media → metadata/layout → allocation/placement → redundancy/recovery → logical object → consumer; preserve identity/pre-state before mutation.
Ceph → Backfill Ceph map
| 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 |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4051