TECHNOLOGY

Ceph can have free space and still block backfill

In this article
THE QUICK TAKE

Measure headroom inside the actual placement domain, including mapped incoming data, before accepting cluster-wide free capacity.

Free capacity in the wrong place

A Ceph dashboard reports substantial free capacity while a placement group remains unable to finish backfill. This is possible when free bytes reside outside the eligible destination set or when a destination would cross its backfill threshold after already mapped work completes. An aggregate percentage does not describe whether the next required replica can be placed.

The Ceph health reference explicitly includes projected fullness in the backfillfull warning. Capacity planning must therefore count incoming commitments, not just the bytes visible on disk at the instant of inspection.

Separate the fullness boundaries

Nearfull is an early warning. Backfillfull prevents rebalancing data onto the affected destination. Full prevents servicing writes because an OSD has crossed the full threshold. These names describe different operational boundaries; treating them as interchangeable alerts can produce the wrong response.

Ceph expects ascending thresholds from nearfull through backfillfull and full to failsafe_full. Preserve the effective ratios and their source. A recent ratio change can explain an apparent state transition without any comparable movement of stored data.

Follow the blocked placement group

The placement-group state reference distinguishes backfill_toofull from recovery_toofull. Start with the actual blocked group, its intended destinations and the reported state. Resolve those OSDs to their devices, current utilization and placement constraints before choosing a remediation.

A free device in another CRUSH root or excluded device class cannot automatically receive the required data. Likewise, capacity that shares an unacceptable failure domain is not equivalent to eligible independent capacity. Record why each candidate is eligible rather than inferring eligibility from a storage inventory.

Account for the work still arriving

Build a bounded view of current occupancy, mapped incoming backfills and concurrent growth from clients. Keep the measurement time attached to each observation: a moving cluster can invalidate a table assembled from unrelated snapshots. Check whether destination pressure is concentrated rather than evenly distributed.

Do not raise thresholds merely to make a warning disappear. That changes admission policy and reduces remaining safety margin; it does not create space. Removal of data requires its own retention decision, and new capacity must enter the correct placement domains before it can solve this particular blockage.

What successful remediation demonstrates

Accept the intervention when the intended groups progress, eligible destinations remain below their effective boundaries and required client writes complete without the earlier capacity failure. Follow the system through the mapped work rather than stopping at the first disappearance of an alert.

Use checkpoint failure-domain reasoning to assess whether the proposed destination preserves recovery independence. The storage placement guide provides the wider distinction between nominal capacity and useful workload capacity.

What the capacity check cannot prove

A cleared fullness condition does not certify object integrity, application-consistent checkpoints or acceptable load latency. It also does not establish that future growth will remain balanced. Preserve the final OSD-level headroom and outstanding recovery state with the accepted change. The conclusion is specific: the previously blocked placement now has sufficient eligible destination capacity under the recorded policy and workload.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles