Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Failure Domains

Direct 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.

When to use this

Use it when configuring, checking or troubleshooting Failure Domains in Ceph.

First 30 seconds

1. Failure domain = level across which replicas are separated (host, rack, row).

2. Must have at least size buckets at that level.

3. Host is default; rack for larger clusters.

4. Uneven bucket sizes limit usable capacity.

5. Plan before data grows.

Operational verification

replicas → separated by failure domain

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

Logical distribution across CRUSH buckets shows resilience only if those buckets accurately represent independent real-world failure domains.

Suspicious evidence: multiple replicas under one power/network domain, mislabeled hosts/racks, insufficient domains for size or EC width, or no capacity to recover after failure.

Platform / version applicability
Ceph storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCeph storage
Scope / prerequisiteUse it when configuring, checking or troubleshooting Failure Domains in Ceph.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

physical shared-risk topology → CRUSH hierarchy → chooseleaf/failure-domain rule → PG replica/shard placement → tolerated domain failure

Healthy evidence: every sampled acting set spans the required real failure domains and sufficient spare capacity exists to restore redundancy after a domain loss.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Multiple OSDs ≠ multiple failure domains.
  • Different hosts ≠ independent racks/power automatically.
  • Configured rack label ≠ physical validation.
  • Replication count ≠ tolerated failures unless placement is independent.
Key checks
  • ceph osd crush tree — buckets
  • ceph osd crush rule dump <rule> | grep type — failure domain type
  • ceph osd tree — hosts and OSDs
ReferenceImportant terms & boundaries2 sections · depth on demand

Placement and what the checks show

Logical distribution across CRUSH buckets shows resilience only if those buckets accurately represent independent real-world failure domains.

Failure Domains owns resilience interpretation; CRUSH owns implementation; physical/network/power domains are verified in their owning infrastructure areas.

In depth

Failure domains define what CRUSH keeps replicas apart from: host (default), chassis, rack, row, datacenter. With size 3 and failure domain host, each PG has copies on three different hosts, so losing one host loses at most one copy.

ceph osd tree
ceph osd crush rule dump replicated_rule
ceph osd crush rule create-replicated rack-rule default rack
ceph osd pool set vm-pool crush_rule rack-rule

The failure domain must have at least size members (three racks for rack-level size 3), and enough spare capacity to re-replicate a whole failed domain without filling the remaining OSDs past nearfull.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCeph storage current

Authoritative/upstream documentation reviewed for bounded claims in Ceph → Failure Domains. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.ceph.com/en/latest/ · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
ceph failure domaincrush failure domainhost rack ceph
Embedded reference data

Quick lookup tables

Ceph → Failure Domains Ceph map

Fast control-plane, placement, data-path and proof boundaries for Ceph → Failure Domains.

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
Confirmation

Confirm action

Continue?