Dedicated Hot Spare
Cheat sheet · https://pcornel.dk/topic.php?topic=3930
Answer
Dedicated scope provides predictable spare availability for its assigned array, at the cost of reduced pooling efficiency. It still must satisfy capacity and compatibility requirements and still requires a rebuild after activation.
Remember
- Dedicated spare ≠ active array member before failure.
- Reserved availability ≠ instant redundancy restoration.
- Dedicated scope can prevent another array from using the spare.
- Dedicated hot spare ≠ backup.
First checks
storcli /c0/e<e>/s<s> add hotsparedrive dgs=<dg>— dedicated sparestorcli /c0 show— DHS listedmdadm /dev/md0 --add /dev/sdY— md spare for one array
Commands
mdadm --monitor
Verify in this order
failure in that array → dedicated spare
Where it usually breaks
First mismatch in member media → metadata/layout → allocation/placement → redundancy/recovery → logical object → consumer; preserve identity/pre-state before mutation.
RAID → Dedicated Hot Spare RAID map
| RAID boundary | What to verify | Proof limit |
|---|---|---|
| Layout / topology | RAID level, member grouping, effective member size and stripe/mirror/parity structure | The label alone does not prove current member health or exact failure tolerance |
| Protection state | Array state, members, spares, cache protection and active rebuild/consistency work | Optimal/online state does not prove backup or application integrity |
| Failure boundary | Dedicated assignment reserves spare eligibility for a specific array; it does not make the spare an already-synchronized mirror copy. | Failure tolerance must be evaluated against the exact layout and failure pattern |
| Acceptance | Healthy evidence: dedicated assignment is correct, spare is compatible and ready, and rebuild can begin automatically for the assigned array. | Close only after the original workload/data check succeeds |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3930