Farmer DiamondsUsed hard drives with statutory warranty – home page

Guides

RAID and ZFS calculator: how much capacity stays usable?

How much storage is left when several hard drives are combined into a RAID or a ZFS pool? Enter size, number and layout – the calculator shows the usable capacity in both units.

Calculate

The calculator works with drives of the same size and gives nominal figures: with the capacity as labelled, as the pages of our sets do. It needs no JavaScript.

Calculate an array

As labelled, 0.5 to 100 TB. Suitable for NAS and RAID and currently on offer: 14 TB, 16 TB, 18 TB, 20 TB.

2 to 24 drives of the same size.

Result

5 drives of 20 TB each as raidz1 / RAID 5: 80 TB usable. The operating system reports 72.76 TiB for it.

The space of 4 of the 5 drives is usable; the space of one drive carries the redundancy. Together the drives hold 100 TB.

The layout is designed to survive the failure of one drive. It does not replace a backup.

Usable capacity per layout for 5 drives of 20 TB each
LayoutUsableAs labelledThe operating system reportsSurvives the failure of
RAID 1 (mirror)1 of 520 TB18.19 TiB4 drives
raidz1 / RAID 5 (chosen)4 of 580 TB72.76 TiB1 drive
raidz2 / RAID 63 of 560 TB54.57 TiB2 drives
raidz32 of 540 TB36.38 TiB3 drives

Nominal, before ZFS metadata and raidz padding. The space actually available is lower; by how much depends on ashift and recordsize and has not been measured here.

Why there are two figures is explained under TB and TiB.

The layouts at a glance

  • RAID 1, the mirror (“mirror” in ZFS): every drive holds the same data. The capacity of one drive is usable, from 2 drives.
  • raidz1, in capacity like RAID 5: the capacity of 1 drive carries the redundancy, the rest is usable. The calculator covers this layout from 3 drives.
  • raidz2, in capacity like RAID 6: the capacity of 2 drives carries the redundancy. The calculator covers this layout from 4 drives.
  • raidz3: the capacity of 3 drives carries the redundancy. The calculator covers this layout from 5 drives.
  • RAID 10: every 2 drives form a mirror, and the mirrors are combined. Half is usable, from 4 drives in an even number.

Where the drives of an array differ in size, each of these layouts works with the smallest.

Matching sets and drives

Ready-made sets with drives of 20 TB each:

Single hard drives of 20 TB whose model is suitable for NAS, RAID and 24/7 operation:

Every model on offer that is suitable for NAS, RAID and 24/7 operation records with CMR (conventional magnetic recording), none with SMR. More: the FAQ.

All hard drives suitable for NAS, RAID and 24/7 operation on one page, with the order form for one of them:

All sets: Sets for RAID and ZFS. All single drives: All hard drives.