distributed-spare · shipping · also distributed hot spare

Distributed spare

A distributed spare is replacement capacity spread across multiple devices rather than reserved on a single dedicated spare device.

Related Observatory article: Read on hesela.com

It permits reconstruction writes to use multiple destinations; placement constraints and reserved capacity still apply.

Holland's illustrative RAID 5 layout reserves a spare unit per stripe; this is not a general rule for declustered arrays. Section 5.3 instead separates static space allocation from failure-dependent assignment and rejects excessive per-stripe reservation. A rebuilt unit must not share a disk with another unit from its stripe [3].

In a simulated 40-disk array at low declustering ratios, reconstruction took 34 s with distributed sparing against 215 s with a dedicated spare, a factor of 6.3, at up to about 10% worse user response time during the rebuild. At high declustering ratios the surviving disks limit the rebuild and the gain is small. [3] The inverse relationship between mean time to data loss and mean repair time is a fast-repair approximation for independent exponential disk lifetimes and exponential repairs in a single-erasure-correcting model, not a universal array law [7].

OpenZFS dRAID integrates distributed spares into its parity groups, rebuilds onto them with a sequential resilver whose speed scales with the number of disks per stripe width, and frees the spare space again once the failed drive is replaced. [1] [5] With 14 children and 2 spares, the spares take 14.3% of raw capacity. [6]

Relations

related
Parity declustering, RAID, Hot spare, RAID rebuild, dRAID (OpenZFS)

Advantages

  • Every spindle serves requests in fault-free operation, so the spare's actuator is no longer idle. [3]

Limitations

  • A distributed spare can be used only by the redundancy group it belongs to. [1]
  • Large accesses can run slower in reconfigured mode, because the rebuilt layout no longer meets the large-access criterion. [3]

Citations

  1. OpenZFS dRAID how-to: Introduction and Rebuilding to a Distributed Spare. (accessed 2026-10-13)
  2. Holland. On-Line Data Reconstruction in Redundant Disk Arrays. PhD dissertation, Carnegie Mellon University, 1994, chapter 5. (accessed 2026-11-02)
  3. OpenZFS 2.3.0 zpoolconcepts(7), dRAID section. (accessed 2026-10-16)
  4. OpenZFS 2.3.0 module/zfs/vdev_draid.c, distributed spare vdev and asize calculation. (accessed 2026-10-16)
  5. Gibson and Patterson. Designing Disk Arrays for High Data Reliability. JPDC 17 (1993), pp. 4-27; section 4, equations 5-9. (accessed 2026-11-02)

Further reading

  1. Parity declustering: less load per disk, not fewer reads (accessed 2026-10-13)
  2. Holland and Gibson. Parity Declustering for Continuous Operation in Redundant Disk Arrays. ASPLOS 1992. (accessed 2026-10-16)
Sources & caveats
  • The benefit numbers are simulation of early-1990s drives by one university research group, not measurements of current arrays or of OpenZFS dRAID, whose documentation publishes no rebuild times.
  • The OpenZFS documentation and code come from the project that implements the feature.
  • Arithmetic: 215 / 34 = 6.3; with parity stripes of 5 units in 40 disks, one spare per stripe would reserve 20% where 2.5% is needed; adding one idle disk to 40 gives at most 2.5% more throughput.
  • Arithmetic: 2 / 14 = 14.3%; usable capacity is (14 - 2) x 8/9 = 10.7 child sizes, 76% of raw, for 8 data and 1 parity devices per group.

JSON: /data/terms/distributed-spare.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Distributed spare. Hesela. 2026-11-09. https://hesela.dev/terms/distributed-spare/