Pcornel
Storage · ZFS

Special VDEV

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

Back to the Topic

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 vdev
  • zpool list -v — special usage
  • zfs 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 boundaryWhat to verifyProof limit
Identity / topologyPool GUID/name, dataset/zvol, top-level vdev class, leaf-device identity and effective propertiesObject presence alone does not prove integrity, performance or recovery
Capacity / protectionPool free space, quotas/reservations, snapshot retention, redundancy and active scrub/resilver stateFree space or ONLINE state at one layer does not prove end-to-end health
Failure boundaryA 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
AcceptanceHealthy 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

Confirmation

Confirm action

Continue?