Use it when configuring, checking or troubleshooting Dedicated Hot Spare in RAID.
Dedicated Hot Spare
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.
1. A dedicated hot spare serves one array.
2. Guarantees spare for critical arrays.
3. Less flexible.
4. Match drive type.
5. Document.
failure in that array → dedicated spare
Context & applicabilityCommon mistakes · platform/version boundaries
Dedicated assignment reserves spare eligibility for a specific array; it does not make the spare an already-synchronized mirror copy.
Suspicious evidence: spare is assigned to the wrong array, undersized, unhealthy, consumed without replacement or assumed to contain current data before rebuild.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
dedicated spare assignment → target array member failure → eligibility → activation → rebuild → active member → new spare assignment
Healthy evidence: dedicated assignment is correct, spare is compatible and ready, and rebuild can begin automatically for the assigned array.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- 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.
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
ReferenceWhy it matters1 section · depth on demand
Quality lift: concrete internals
Dedicated Hot Spare quality lift — inspect the concrete RAID redundancy and rebuild path mechanics rather than treating existing coverage as completion.
ReferenceImportant terms & boundaries3 sections · depth on demand
Protection
Dedicated assignment reserves spare eligibility for a specific array; it does not make the spare an already-synchronized mirror copy.
In depth
A dedicated hot spare waits idle and replaces a failed member automatically
A hot spare is a disk installed and assigned to an array, with no data on it. When a member fails, the array starts rebuilding onto the spare at once, without waiting for someone to replace the disk.
Linux md
mdadm(8) describes --add. A disk that is not a recent member is added as a hot spare, and if the array is degraded, recovery starts. It also describes --monitor, which reports events such as Fail, DegradedArray, RebuildStarted and SpareActive.
# mdadm /dev/md0 --add /dev/sdf1
# mdadm --detail /dev/md0 | tail -6
Number Major Minor RaidDevice State
0 8 17 0 active sync /dev/sdb1
1 8 33 1 active sync /dev/sdc1
2 8 49 2 active sync /dev/sdd1
3 8 65 3 active sync /dev/sde1
4 8 81 - spare /dev/sdf1
# grep -E 'ARRAY|spare-group|MAILADDR' /etc/mdadm/mdadm.conf
A spare can also be shared between arrays with a spare-group in mdadm.conf, so that mdadm --monitor moves it to whichever array needs it.
Dedicated versus global spares
| Type | Behaviour | Fits |
|---|---|---|
| Dedicated | Belongs to one array | Critical arrays that must never wait |
| Global / shared | Used by any array in the group | Many arrays, fewer spare disks |
On ZFS, zpoolconcepts(7) notes that spares replace failed devices automatically and can be shared between pools, with a warning against sharing between pools that may be imported on different hosts.
Operational points
- A spare in use is no longer a spare. Replace the failed disk and restore a new spare, or the next failure has none.
- The spare must be at least as large as the members, with the same sector size.
- Monitor the spare disk too. A spare that has failed silently helps nobody.
- With RAID 6 or raidz2 and fast replacement, some sites skip spares and keep spare disks on the shelf instead.
Documented example, not captured output.
Quick reference
A dedicated hot spare belongs to one array or disk group and is used only by it. It guarantees that critical arrays always have a spare available, at the cost of possibly idle spares sitting next to other arrays without one.
storcli /c0/e252/s7 add hotsparedrive dgs=0 # dedicated to disk group 0
mdadm /dev/md0 --add /dev/sdh # md: extra disk becomes spare
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in RAID → Dedicated Hot Spare. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.kernel.org/admin-guide/md.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
RAID → Dedicated Hot Spare RAID map
Fast layout, protection, failure and verification boundaries for RAID → Dedicated Hot Spare.
| 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 |