Use it when configuring, checking or troubleshooting Failure Domains in Ceph.
Failure Domains
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.
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.
replicas → separated by failure domain
Context & applicabilityCommon mistakes · platform/version boundaries
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.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
- Multiple OSDs ≠ multiple failure domains.
- Different hosts ≠ independent racks/power automatically.
- Configured rack label ≠ physical validation.
- Replication count ≠ tolerated failures unless placement is independent.
ceph osd crush tree— bucketsceph osd crush rule dump <rule> | grep type— failure domain typeceph 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.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.
Quick lookup tables
Ceph → Failure Domains Ceph map
Fast control-plane, placement, data-path and proof boundaries for Ceph → Failure Domains.
| Ceph boundary | What to verify | Proof limit |
|---|---|---|
| Control / placement | MON/map/auth, pool, PG and CRUSH context for the exact workload | Cluster visibility or one healthy daemon does not prove the data path |
| Data / redundancy | Acting OSD set, device/network state, capacity and replica/EC availability | Up/in or active state alone does not prove clean redundancy or integrity |
| Failure boundary | Logical 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 |
| Acceptance | Healthy 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 |