Special VDEV
Cheat sheet · https://pcornel.dk/topic.php?topic=4024
Answer
A special vdev can hold metadata, indirect blocks and depending on configuration deduplication tables and selected small data blocks. These blocks may exist only on the special class, so its redundancy and reliability are pool-critical. If the special class fills, eligible allocations can spill to normal class according to implementation behavior, but loss of unique special-class blocks can damage the pool.
Remember
- Special vdev ≠ cache.
- Special vdev ≠ SLOG.
- Special-class data can be unique; loss is not harmless like L2ARC loss.
- Fast metadata device ≠ safe design unless redundancy and failure domains are appropriate.
First checks
zpool status— special vdevzpool list -v— special usagezfs get special_small_blocks <ds>— small blocks to special
Verify in this order
metadata/small blocks → special vdev (SSD)
Where it usually breaks
First mismatch in member media → metadata/layout → allocation/placement → redundancy/recovery → logical object → consumer; preserve identity/pre-state before mutation.
ZFS → Special VDEV ZFS map
| ZFS boundary | What to verify | Proof limit |
|---|---|---|
| Identity / topology | Pool GUID/name, dataset/zvol, top-level vdev class, leaf-device identity and effective properties | Object presence alone does not prove integrity, performance or recovery |
| Capacity / protection | Pool free space, quotas/reservations, snapshot retention, redundancy and active scrub/resilver state | Free space or ONLINE state at one layer does not prove end-to-end health |
| Failure boundary | A healthy special vdev proves its currently addressable unique blocks are serviceable; it does not behave like a disposable cache and its loss can be pool-fatal depending on stored blocks. | Correlate ZFS evidence with both workload and lower device/path evidence |
| Acceptance | Healthy evidence: special class is deliberately redundant, has capacity headroom, no unexplained errors, and metadata/small-block workload behaves as expected. | Close only after original workload plus checksum/read-back/recovery verification succeeds |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4024