RAIDZ Storage & Capacity Calculator
Input Parameters
Computed Results
The RAIDZ calculator helps you determine the usable storage capacity, storage efficiency, and fault tolerance of a ZFS storage pool. By entering your disk size, number of drives, and VDEV configuration, you can estimate how much raw storage is lost to parity and how your read and write speeds scale.
Verified Configuration Scenarios
Understanding how different ZFS configurations impact usable space and redundancy is easier with practical examples. Here are four verified scenarios based on common setups.
Home NAS RAIDZ2 Configuration
A typical home server prioritizing data safety over maximum capacity might use a single RAIDZ2 VDEV. With 1 group of 5 disks, each offering 2000 GB of raw capacity, the total raw storage is 10,000 GB. Because RAIDZ2 uses two disks for parity, the usable capacity is 6000 GB (6 TB). This setup yields a storage efficiency of 60%, a read and write speed factor of 3, and can tolerate 2 disk failures.
Large Enterprise RAIDZ3 Array
An enterprise environment requiring high capacity and extreme fault tolerance might deploy 8 VDEVs, each containing 10 disks of 16,000 GB. Using RAIDZ3, the raw capacity is 1,280,000 GB. The usable capacity becomes 896,000 GB (896 TB), resulting in 70% storage efficiency. The read and write speed factors scale to 56, and the array can tolerate 3 disk failures per VDEV (though 0 entire VDEV failures are allowed).
Mirroring Mode RAID10 Equivalent
For high IOPS workloads, a pool of mirrored VDEVs (similar to RAID10) is common. Using 4 groups of 2 disks (8000 GB each) combined with mirroring (RM), the raw capacity is 64,000 GB. The usable capacity is 8000 GB (8 TB), dropping storage efficiency to 12.5%. The read speed factor is 8, the write speed factor is 1, and the system can tolerate 1 disk failure per VDEV plus up to 3 entire VDEV failures.
High Performance Striped Pool
A setup designed purely for speed with no redundancy might use 2 groups of 4 disks (1000 GB each) in a striped configuration (R0). The raw capacity is 8000 GB, and the usable capacity is also 8000 GB (8 TB), achieving 100% storage efficiency. The read and write speed factors are both 8, but the pool has zero fault tolerance.
Formula & Calculation Method
The usable capacity of a ZFS pool depends on the number of data disks in each Virtual Device (VDEV) and how those VDEVs are combined.
First, the calculator determines the raw capacity:
Next, it calculates the number of data disks per VDEV based on the RAIDZ type:
- Stripe (R0): All disks are data disks.
- Mirror (RM): 1 data disk per VDEV.
- RAIDZ1 (R1): Total disks minus 1 parity disk.
- RAIDZ2 (R2): Total disks minus 2 parity disks.
- RAIDZ3 (R3): Total disks minus 3 parity disks.
The usable capacity per VDEV is the number of data disks multiplied by the single disk capacity. If the VDEVs are striped together (R0), the total usable capacity is the VDEV capacity multiplied by the number of VDEVs. If the VDEVs are mirrored together (RM), the total usable capacity equals the capacity of a single VDEV.
How to Use the Calculator
Follow these steps to estimate your ZFS pool specifications:
- Enter the Number of VDEVs: Input how many top-level disk groups will make up your pool.
- Select the Group Combining Type: Choose how the VDEVs are combined (typically striped for capacity or mirrored for redundancy).
- Enter the Number of Disks per VDEV: Specify how many physical drives are in each group.
- Input the Single Disk Capacity: Enter the raw capacity of a single drive in Gigabytes (GB).
- Select the RAIDZ / VDEV Type: Choose the redundancy level for each VDEV (e.g., RAIDZ1, RAIDZ2, Mirror).
The calculator will instantly display your usable capacity, storage efficiency, speed factors, and fault tolerance.
Inputs & Outputs Table
| Field | Type | Description |
|---|---|---|
| Number of VDEVs | Input | The number of top-level virtual devices in the pool. |
| Group Combining Type | Input | How the VDEVs are aggregated (e.g., striped or mirrored). |
| Number of Disks per VDEV | Input | The quantity of physical drives in a single VDEV. |
| Single Disk Capacity (GB) | Input | The raw storage size of one drive. |
| RAIDZ / VDEV Type | Input | The parity or mirroring configuration within the VDEV. |
| Usable Capacity (GB/TB) | Output | The estimated storage space available for data. |
| Raw Total Capacity (GB) | Output | The combined advertised capacity of all physical disks. |
| Storage Efficiency | Output | The percentage of raw storage that is usable for data. |
| Read/Write Speed Factor | Output | A multiplier indicating theoretical performance scaling based on the number of data disks. |
| Fault Tolerance | Output | The number of disk or VDEV failures the pool can sustain without data loss. |
Practical Use Cases
This calculator is useful for planning storage deployments across different environments:
- Home Media Servers: Balancing cost and redundancy by determining whether RAIDZ1 or RAIDZ2 provides the right mix of usable space and drive failure protection.
- Enterprise Storage Arrays: Calculating the exact usable terabytes and performance scaling for large-scale deployments using multiple RAIDZ3 VDEVs.
- Database Servers: Evaluating the capacity penalty and IOPS benefits of using pools made entirely of mirrored VDEVs instead of parity RAID.
Frequently Asked Questions
What is the difference between raw capacity and usable capacity?
Raw capacity is the total advertised storage of all physical disks combined. Usable capacity is the actual space available for your files after subtracting the storage required for parity or mirroring.
Why does RAIDZ2 have lower storage efficiency than RAIDZ1?
RAIDZ2 dedicates two disks per VDEV to parity for increased fault tolerance, whereas RAIDZ1 only uses one. This extra redundancy reduces the percentage of raw storage available for data.
How do multiple VDEVs affect performance?
When VDEVs are striped together, read and write operations are distributed across them. This generally increases the overall read and write speed factors of the storage pool.