Pcornel
Storage · Ceph

Failure Domains

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

Back to the Topic

Answer

CRUSH buckets such as host, chassis, rack, row or datacenter represent failure domains only when they accurately reflect real shared-risk boundaries including power, network and enclosure dependencies.

Remember

  • Multiple OSDs ≠ multiple failure domains.
  • Different hosts ≠ independent racks/power automatically.
  • Configured rack label ≠ physical validation.
  • Replication count ≠ tolerated failures unless placement is independent.

First checks

  • ceph osd crush tree — buckets
  • ceph osd crush rule dump <rule> | grep type — failure domain type
  • ceph osd tree — hosts and OSDs

Verify in this order

replicas → separated by failure domain

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 → Failure Domains 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 boundaryLogical distribution across CRUSH buckets proves resilience only if those buckets accurately represent independent real-world failure domains.Correlate Ceph, host, device and network evidence in the same time window
AcceptanceHealthy evidence: every sampled acting set spans the required real failure domains and sufficient spare capacity exists to restore redundancy after a domain loss.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=4044

Confirmation

Confirm action

Continue?