RAID and NAS capacity
Usable space, disks that may fail, TB against TiB and a rebuild-time estimate for RAID 0, 1, 5, 6, 10, 50, 60 and ZFS. A plan, not a promise.
Disks
Result
What it does
The RAID calculator (RAID-Rechner) works out the usable capacity of RAID 0, 1, 5, 6, 10, 50 and 60 and of ZFS mirror, RAIDZ1, RAIDZ2 and RAIDZ3 from the number and size of your disks. It shows the raw space, the efficiency, how many disks may fail (for RAID 10, 50 and 60 both the sure number and the best case) and the space in TB as sold and in TiB as your system shows it. It also estimates how long it takes to rebuild one disk at the speed you give, with a plain note on the risk during that time. Use it to plan a NAS from Synology, QNAP or TrueNAS before you buy disks. It runs in your browser.
How to use it
- 1Pick the RAID or ZFS level and enter the number and size of your disks.
- 2Optionally enter the speed a rebuild runs at, in MB/s.
- 3Read the usable space, the disks that may fail and the rebuild time, and copy the result.
Common uses
- Plan a home NAS with 2 to 8 bays before you buy the disks.
- Compare RAID 5 with RAID 6 or RAIDZ1 with RAIDZ2 for the same set of disks.
- Find out why four 4 TB disks show about 10.9 TiB and not 12 TB.
- Check how long a rebuild takes after a disk fails, and if it is too risky.
- Size a RAID 10 array for a database or a virtual machine host.
- Explain to a client what the extra disk for redundancy costs in space.
Questions
How is the usable space worked out?
RAID 0 keeps all disks, RAID 1 and the ZFS mirror keep one disk, RAID 5 and RAIDZ1 keep all but one, RAID 6 and RAIDZ2 all but two, RAIDZ3 all but three, RAID 10 half, RAID 50 all but two and RAID 60 all but four. The size of one disk times that number is the usable space.
Why does the system show less than the TB on the label?
Disks are sold in TB (10^12 bytes) but most systems count in TiB (2^40 bytes). One TB is about 0.91 TiB, so 12 TB shows as about 10.9 TiB. The tool shows both.
How many disks may fail?
RAID 0 none, RAID 5 and RAIDZ1 one, RAID 6 and RAIDZ2 two, RAIDZ3 three, RAID 1 and the mirror all but one. RAID 10 survives one failure for sure and up to half of the disks if each hits a different mirror pair. RAID 50 and 60 are worked out with two groups.
How accurate is the rebuild time?
It is the size of one disk divided by the speed you enter, so it is the best case. A busy array is often 2 to 5 times slower, and the first time you rebuild you should expect more. Treat it as an estimate.
Why is a long rebuild a risk?
With one disk of protection the array has none left while it rebuilds. A second failure, or a read error on a remaining disk, can lose the array. Large disks make this more likely, which is why RAID 6 or RAIDZ2 is often chosen for big disks.
Is RAID a backup?
No. RAID keeps the array running when a disk fails. It does not help against deleted files, a virus, a fire or theft. Keep a separate backup.
Is my data uploaded?
No. Everything is calculated on your device.