Pcornel
Storage · Ceph

Backfill

Cheat sheet · https://pcornel.dk/topic.php?topic=4051

Back to the Topic

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 PGs
  • ceph pg ls backfilling — list
  • ceph 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 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 boundaryBackfill 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
AcceptanceHealthy 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

Confirmation

Confirm action

Continue?