TECHNOLOGY

A CRUSH failure domain must match physical dependencies

In this article
THE QUICK TAKE

CRUSH enforces the hierarchy and rule it is given; distinct logical buckets do not prove independent infrastructure failure domains.

Different labels share one failure

A storage cluster places replicas in distinct rack buckets, yet both racks depend on the same power path. The logical placement can be correct while the intended physical independence is absent. CRUSH cannot infer an unmodeled shared dependency from the spelling of bucket names. Qualify the hierarchy against the infrastructure that can fail together before treating a replica count as a specific availability or data-survival guarantee.

Identify the rule used by the pool

The Ceph pool reference associates object placement with the pool’s CRUSH rule and its replication or erasure-code arrangement. Record the actual rule, root, device-class restriction and required replica or shard count. A valid global hierarchy does not establish which subtree this pool uses. Another pool can select a different device class or failure-domain level while sharing the same OSD inventory, so its successful placement is not a substitute for this pool’s evidence.

The hierarchy models correlated failures

The CRUSH documentation describes hosts, racks, power-related and other bucket types and explains encoding physical dependencies to address correlated failures. Compare those modeled relationships with actual host, chassis, rack, power and network dependencies. A copied location label or a stale rack assignment can make devices appear separated while they remain co-located. Conversely, a device-class filter can leave fewer eligible independent buckets than the broader hardware inventory suggests.

Inspect effective placement rather than names alone

For representative placement groups, join actual acting OSDs to their current physical identities and dependency records. Preserve map generation and pool configuration with the result. Check that the selected hierarchy level expresses the failure being claimed: separation across hosts is not automatically separation across racks or shared power. A placement simulation can test the modeled rule, but it does not validate the physical inventory used to build that model.

Acceptance tests the declared failure envelope

In an approved isolated model or test cluster, examine placement under the relevant unavailable-domain scenarios and verify the required surviving shards or replicas. Keep client availability and reconstructable data as separate criteria. Include the actual class restrictions and any temporary remapping. Acceptance should connect rule behavior to a reviewed physical dependency map, not merely show that all replicas have different OSD numbers. Do not remove live production domains as an improvised diagnostic or claim a hypothetical simulation was a completed physical failure test.

Preserve the map’s validity boundary

Recabling, shared-device changes, OSD relocation and rack-power work can invalidate an earlier independence conclusion without changing the pool’s replica target. The failure-domain recovery guide explains why copy placement matters, while storage workload planning keeps recovery requirements distinct from disk capacity. Retain an owner and configuration generation for the dependency map. The useful guarantee is limited to the modeled and verified failure envelope, rather than a universal promise that different logical bucket names represent independent infrastructure.

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