Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Mirror VDEV

Direct answer

A mirror vdev duplicates blocks across all member devices. A mirror with N members can continue while at least one valid member remains, although performance, replacement risk and fault domains depend on member placement and correlated failure exposure. Pool-wide availability still depends on every top-level normal vdev remaining serviceable.

When to use this

Use it when configuring, checking or troubleshooting Mirror VDEV in ZFS.

First 30 seconds

1. Mirror vdevs: best IOPS and fast resilver.

2. 50 % capacity (2-way).

3. Grow by adding mirror vdevs.

4. 3-way mirrors for critical data.

5. Recommended for VMs and databases.

Operational verification

writes → both disks; reads → either

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

A healthy mirror state shows required members currently satisfy the vdev, but it does not show independent recovery, absence of latent corruption, or safe exposure to correlated failures.

Suspicious evidence: multiple mirror members share an unrecognized failure domain, one member repeatedly faults, resilver cannot complete, or mirror presence is treated as backup.

Platform / version applicability
ZFS storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformZFS storage
Scope / prerequisiteUse it when configuring, checking or troubleshooting Mirror VDEV in ZFS.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

zpool → mirror top-level vdev → replica selection → member device → checksum validation → alternate replica/repair if needed

Healthy evidence: mirror members and expected replica count are present, error counters are not increasing, recent scan evidence is clean, and workload reads/writes succeed.

Evidence references

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.

observation · 1
Key points
  • Mirror vdev ≠ backup.
  • Two-way mirror ≠ tolerance of every two-disk failure in a pool made of multiple two-way mirrors.
  • Member ONLINE ≠ every block replica verified recently.
  • Adding mirror members changes replica count for that vdev, not other top-level vdevs.
Key checks
  • zpool status — mirror-N vdevs
  • zpool attach <pool> <disk> <newdisk> — add mirror side
  • zpool iostat -v 1 — balanced I/O
ReferenceImportant terms & boundaries2 sections · depth on demand

Topology

A healthy mirror state shows required members currently satisfy the vdev, but it does not show independent recovery, absence of latent corruption, or safe exposure to correlated failures.

In depth

A mirror vdev keeps identical copies on two or more disks. Reads are balanced across members; a two-way mirror survives one disk loss, a three-way mirror two.

zpool attach tank ata-A ata-E       # add a third disk to the mirror containing ata-A
zpool detach tank ata-E
zpool add tank mirror ata-F ata-G   # add a new mirror vdev to the pool

Resilvering a mirror copies only allocated data from the partner, which keeps resilver times short. Mirrors are also the only vdev type that can be removed from a pool (zpool remove) in current OpenZFS.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docZFS storage current

Authoritative/upstream documentation reviewed for bounded claims in ZFS → Mirror VDEV. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://openzfs.github.io/openzfs-docs/ · confidence 94%
Terminology layer

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.

Aliases that resolve here
zfs mirrormirror vdevzpool mirror
Embedded reference data

Quick lookup tables

ZFS → Mirror VDEV ZFS map

Fast topology, capacity, integrity and proof boundaries for ZFS → Mirror VDEV.

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 mirror state proves required members currently satisfy the vdev; it does not prove independent recovery, absence of latent corruption, or safe exposure to correlated failures.Correlate ZFS evidence with both workload and lower device/path evidence
AcceptanceHealthy evidence: mirror members and expected replica count are present, error counters are not increasing, recent scan evidence is clean, and workload reads/writes succeed.Close only after original workload plus checksum/read-back/recovery verification succeeds
Confirmation

Confirm action

Continue?