Overview
The CRUSH map defines the hierarchical topology of the storage cluster — how nodes, racks, and rooms are structured, and how data is distributed across failure domains. Correct CRUSH configuration ensures data is spread across independent failure domains for maximum availability.Prerequisites
- Administrator credentials with the
adminrole - SSH access to a cluster management node
- Understanding of your physical infrastructure topology (host, rack, room layout)
CRUSH Hierarchy
The CRUSH hierarchy places storage devices into a tree of buckets. Data placement rules traverse this tree to select OSDs from distinct failure domains.Viewing the CRUSH Map
- OSD Tree
- Full CRUSH Map
View OSD tree with device classes
Device Class Rules
Device class CRUSH rules route data to a specific storage tier. Create one rule per device class to enable multi-tier storage.Create a device class rule
Create SSD device class rule
Create NVMe device class rule
Create HDD device class rule
nvme, ssd, hdd.Assign rule to a pool
Assign CRUSH rule to pool
In a single-device-class cluster (all SSD), changing a pool’s CRUSH rule from
replicated_rule to replicated_rule_ssd involves zero data movement — data
is already on the correct devices.Managing OSD Device Classes
OSDs are automatically classified by device type at deployment. Verify or override classifications as needed.- View Classifications
- Reclassify an OSD
List all OSD device classes
List OSDs in a specific class
Failure Domain Configuration
Configure CRUSH rules to spread replicas across independent failure domains. The failure domain level determines how many simultaneous failures the cluster can survive without data loss.| Failure Domain | Survives | Recommended For |
|---|---|---|
host | Any number of OSD failures on different hosts | Small clusters (< 10 hosts) |
rack | Entire rack failures (power, networking) | Medium clusters with physical racks |
room | Room-level failures (fire, flood) | Large data center deployments |
Create a rack-level failure domain rule
Next Steps
Pool Management
Create pools and assign the CRUSH rules you’ve just configured
Storage Tiers
Wire device class rules to Cinder volume types for multi-tier storage
Cluster Management
Monitor cluster health and manage OSDs in your configured topology
Troubleshooting
Diagnose CRUSH-related issues including imbalanced data distribution