﻿# Ceph can have free space and still block backfill

Backfill needs capacity on eligible destination OSDs. Separate nearfull warnings, projected backfill fullness and the write-blocking full threshold.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/ceph-nearfull-backfillfull-boundary/
Language: en

## 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](https://docs.ceph.com/en/tentacle/rados/operations/health-checks/) 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](https://docs.ceph.com/en/tentacle/rados/operations/pg-states/) 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](/journal/google-multi-tier-checkpoints-failure-domains-restore-overrides/) to assess whether the proposed destination preserves recovery independence. The [storage placement guide](/journal/storage-optimized-hosting/) 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.
