TECHNOLOGY

Ceph min_size is an I/O availability boundary

In this article
THE QUICK TAKE

Lowering min_size can permit I/O with fewer active copies; it does not recreate redundancy or recover missing data.

Existing data does not imply permitted client I/O

After an OSD failure, a pool still has surviving data but some placement groups no longer serve clients. The operator considers lowering min_size to restore checkpoint access. First separate the configured replica target from the minimum active copy requirement and the actual surviving PG state. A threshold change can alter admission to I/O without restoring protection, so restored responsiveness must not be reported as recreated redundancy.

Size and min_size answer different questions

The Ceph pool documentation defines the desired replica or shard arrangement separately from min_size, the active replicas or shards required for placement groups to become active and allow I/O. Preserve pool type, both settings and actual active membership. Do not turn a replica count into a universal simultaneous-failure guarantee without placement and state context. Erasure-coded recovery has its own reconstruction requirements and should not be treated as a replicated pool with renamed numbers.

Peered can remain unavailable

The PG state reference describes a peered placement group that cannot serve client I/O because it has not reached min_size, while recovery can still proceed. Agreement about placement-group state is therefore not the same boundary as permission to serve clients. Record whether the group is peering, peered, active, degraded or incomplete rather than diagnosing every paused request as a network failure. Missing information about earlier writes is especially different from a merely reduced active replica count.

Make the tradeoff explicit

If an authorized recovery plan considers a threshold change, identify the copies that would acknowledge new work and the additional failure they can survive. Lowering the requirement does not manufacture an independent copy, fix corruption or reconstruct unavailable shards. Preserve which data is already accepted and which new writes occur under reduced protection. A later healthy state does not retroactively describe the risk envelope under which those writes were acknowledged during the degraded interval.

Qualification needs failure and restoration evidence

In an isolated representative environment, test the approved pool policy with controlled OSD availability and known content. Observe PG state, accepted and blocked I/O, useful client progress and completion of protection recovery. Keep the restore-to-normal condition explicit. Acceptance should demonstrate both the intended availability rule and the actual recovered redundancy, not merely that a dashboard became green after a setting changed. This proposed procedure supplies no universal recommended threshold or guarantee for every failure combination.

Keep application recovery separate

Accessible objects do not alone form a complete training checkpoint, and a successful write acknowledgement does not establish independent backup retention. The multi-tier recovery guide explains failure-domain differences, while snapshot consistency addresses coherent application state. Report pool policy, surviving placement and accepted application operations separately. A defensible decision states which availability boundary changed and what protection remained, without disguising a reduced requirement as a repair of missing copies.

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