Skip to content
/
Suscribirse Subscribe

Detrás del telón hay sistemas, no magia. Arquitectura de software, IA y computación de bajo nivel para las trincheras de producción.

Behind the curtain there are systems, not magic. Software architecture, AI, and systems engineering from the production trenches.

ZFS Resilver & Rebuild Time Calculator: RAIDZ1 vs RAIDZ2 vs Mirror & URE Failure Risk

STORAGE SYSTEMS • ZFS & ENTERPRISE STORAGE

ZFS Resilver & Rebuild Time Calculator: RAIDZ1 vs RAIDZ2 & URE Failure Risk

Model real-world ZFS pool resilvering time, sustained rebuild throughput, and the statistical probability of an Unrecoverable Read Error (URE) destroying your zpool when rebuilding drives from 4 TB up to 24 TB.

Pre-Engineered Storage Scenarios
RAIDZ1 allows zero secondary drive or URE faults during rebuild.
Total physical disk count comprising the RAIDZ or mirror vdev.
Nominal capacity of the replacement hard disk drive.
ZFS Copy-on-Write only resilvers allocated data blocks.
Mechanical HDD: 90-180 MB/s. SATA SSD: 350-480 MB/s. NVMe: 1500-3500 MB/s.
Non-Recoverable Read Error rate specified in the drive datasheet.
Data to Resilver
14.40 TB
80% of 18.00 TB allocated
Estimated Resilver Time
28h 35m
at 145 MB/s sustained
URE Risk During Rebuild
11.3%
Probability of bad sector hit
Pool Data Loss if URE Hits
0% (Protected)
RAIDZ2 absorbs 1 extra fault
ZFS Topology Resiliency & Resilver Performance Comparison
Topology Min Drives Fault Tolerance Resilver Time URE Hit Risk Total Pool Failure Risk
Engineering FAQ & ZFS Architecture Guide

Why is RAIDZ1 widely considered obsolete for large mechanical hard drives?

When RAID 5 and RAIDZ1 were introduced in storage engineering, typical spinning drives held 200 GB to 1 TB. Rebuilding modern 16 TB to 24 TB hard drives requires reading tens of terabytes sequentially across surviving drives. Given the standard 1014 Bit Error Rate on consumer drives (1 error per 12.5 TB read), the cumulative probability of hitting an unrecoverable sector exceeds 70%. Because RAIDZ1 operates with zero remaining parity during a rebuild, a single bad sector causes permanent zpool corruption or data loss.

What happens when an Unrecoverable Read Error (URE) hits in RAIDZ1 vs RAIDZ2?

Under RAIDZ1, the pool has already exhausted its single parity disk. If the disk controller encounters an unreadable block on a surviving drive, ZFS checksumming flags permanent metadata or file corruption. In RAIDZ2, the secondary Reed-Solomon parity block reconstructs the unreadable sector instantly on the fly without aborting the resilver or losing data.

How does modern OpenZFS Sequential Resilver accelerate rebuild times?

In older legacy ZFS implementations, the resilvering engine traversed the live filesystem metadata tree, creating a brutal random I/O pattern as drive heads thrashed across platters. Starting with OpenZFS 0.8+, ZFS implements Sequential Resilvering: it scans metadata first to generate a sorted queue of physical Logical Block Addresses (LBAs) and then streams writes sequentially to the target disk, cutting resilver durations by 40% to 65%.

Suscribirse Subscribe