Global Hot Spare
Cheat sheet · https://pcornel.dk/topic.php?topic=3931
Answer
Global scope improves spare utilization but creates contention: once one array consumes the spare, other arrays no longer have that spare available. Controller rules decide eligibility based on size, media/interface and policy.
Remember
- Global spare ≠ guaranteed spare for every array simultaneously.
- One global spare can be consumed by the first eligible failure.
- Global eligibility ≠ compatibility with every array.
- Global spare ≠ backup.
First checks
storcli /c0/e<e>/s<s> add hotsparedrive— global sparestorcli /c0 show— GHS listedmdadm spare-group in mdadm.conf— shared md spares
Verify in this order
any array failure → global 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 → Global 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 | A global spare provides shared replacement capacity, not concurrent reserved redundancy for all eligible arrays. | Failure tolerance must be evaluated against the exact layout and failure pattern |
| Acceptance | Healthy evidence: eligible arrays and compatibility are known, at least the intended spare count is available and activation/replenishment procedures are defined. | 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=3931