Use it when configuring, checking or troubleshooting Resilver in ZFS.
Resilver
Resilvering reconstructs blocks needed to restore redundancy for the affected device/vdev by reading valid data from surviving replicas/parity and writing the required blocks to the target. It is different from a scrub because its purpose is to synchronize redundancy after device state changes rather than verify every allocated copy across the entire pool.
1. Resilver rebuilds data to a replacement disk.
2. Only used blocks are copied.
3. Sequential resilver (dRAID/OpenZFS 2.x) is faster.
4. Keep pool online; I/O slows.
5. Verify after with scrub.
disk replaced → resilver → ONLINE
Context & applicabilityCommon mistakes · platform/version boundaries
A completed resilver shows ZFS synchronized the required allocated block replicas for that event without remaining reported failure, but it does not show every block copy was scrubbed or the application is consistent.
Suspicious evidence: surviving members show read/checksum errors, resilver restarts/stalls, wrong device identity is targeted, or completion is treated as full application/data verification.
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
degraded/replaced member → identify allocated blocks needing sync → surviving mirror/parity reads → checksum/reconstruction → target writes → redundancy restored → workload verification
Healthy evidence: resilver completes, intended member is restored to the correct vdev, no persistent errors remain or grow, and representative workload plus subsequent integrity checks are clean.
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.
- Resilver ≠ scrub.
- Resilver complete ≠ backup or application-integrity proof.
- Target device ONLINE before completion ≠ full redundancy restored.
- Resilver speed ≠ fixed device throughput; workload, topology, errors and allocation shape matter.
zpool status <pool>— resilver progresszpool replace <pool> <old> <new>— replace diskzpool get autoreplace <pool>— auto replace setting
ReferenceImportant terms & boundaries2 sections · depth on demand
Topology
A completed resilver shows ZFS synchronized the required allocated block replicas for that event without remaining reported failure, but it does not show every block copy was scrubbed or the application is consistent.
Resilver owns ZFS redundancy reconstruction. Scrub owns broad integrity scanning; VDEV owns topology; Physical Media owns replacement-device health.
In depth
Resilvering is ZFS's rebuild. Because ZFS knows which blocks are allocated, it copies only live data: a pool 30 % full resilvers in roughly 30 % of the time of a full-disk rebuild. Since OpenZFS 2.0, sequential resilver for mirrors (zpool replace -s) restores redundancy quickly and verifies checksums with a scrub afterwards.
zpool replace tank ata-OLD ata-NEW
zpool status tank # resilvered X in hh:mm:ss, with N errors
If a resilver keeps restarting, a device is dropping and reappearing — check cables and the HBA before replacing more disks.
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 ZFS → Resilver. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://openzfs.github.io/openzfs-docs/ · 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
ZFS → Resilver ZFS map
Fast topology, capacity, integrity and proof boundaries for ZFS → Resilver.
| 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 completed resilver proves ZFS synchronized the required allocated block replicas for that event without remaining reported failure; it does not prove every block copy was scrubbed or the application is consistent. | Correlate ZFS evidence with both workload and lower device/path evidence |
| Acceptance | Healthy evidence: resilver completes, intended member is restored to the correct vdev, no persistent errors remain or grow, and representative workload plus subsequent integrity checks are clean. | Close only after original workload plus checksum/read-back/recovery verification succeeds |