Pcornel
Storage · RAID

Global Hot Spare

Cheat sheet · https://pcornel.dk/topic.php?topic=3931

Back to the Topic

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 spare
  • storcli /c0 show — GHS listed
  • mdadm 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 boundaryWhat to verifyProof limit
Layout / topologyRAID level, member grouping, effective member size and stripe/mirror/parity structureThe label alone does not prove current member health or exact failure tolerance
Protection stateArray state, members, spares, cache protection and active rebuild/consistency workOptimal/online state does not prove backup or application integrity
Failure boundaryA 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
AcceptanceHealthy 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

Confirmation

Confirm action

Continue?