Pcornel
Storage · RAID

Dedicated Hot Spare

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

Back to the Topic

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 spare
  • storcli /c0 show — DHS listed
  • mdadm /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 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 boundaryDedicated 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
AcceptanceHealthy 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

Confirmation

Confirm action

Continue?