Guide

Create a storage pool

A pool is the group of disks TrueNAS stores everything on. The layout you pick decides how many disks can fail before you lose data, and it cannot be changed afterwards without rebuilding the pool.

10 minutesIn the TrueNAS web page, signed in as truenas_admin
What improves

Your storage survives disks failing.

Why it matters

The layout decides how many disks can fail before data is lost, and it cannot be changed without rebuilding the pool.

How you do it

Check the disks are visible, name the pool, choose RAIDZ2 and create it.

Pick a layout

LayoutDisks neededSurvivesUse it for
Stripe1 or moreNo failuresNothing you want to keep. TrueNAS warns against it.
Mirror21 disk failingSmall setups, and the fastest choice for virtual machine storage.
RAIDZ13 or more1 disk failingMore space from the same disks.
RAIDZ24 or more2 disks failingStorage a school depends on. This guide uses it.

The example is four 80 GB disks in RAIDZ2. Two disks' worth of space goes on protection, leaving about 148 GB to use.

Check TrueNAS can see the disks

Go to Storage. With no pool yet, the page says No Pools. Choose Create Pool. The panel on the right should list your disks under Unassigned Disks, for example 80 GiB × 4.

If a disk is missing on a Hyper-V VM, add it on the host. The VM can stay running.

Hyper-V host
$vm  = 'CON-NAS-01'
$dir = "D:\VMs\$vm\Virtual Hard Disks"
foreach ($i in 1..4) {
    $path = "$dir\$vm-DATA-{0:D2}.vhdx" -f $i
    if (-not (Test-Path $path)) {
        New-VHD -Path $path -SizeBytes 80GB -Dynamic | Out-Null
        Add-VMHardDiskDrive -VMName $vm -ControllerType SCSI -Path $path
    }
}

Name the pool

Under General Info, enter a name that follows your naming convention, such as CON-POOL-01. Leave Encryption unticked unless you have a plan for keeping the key safe. Choose Next.

Choose the name with care

The pool name becomes part of the path to everything stored on it. Renaming a pool later means exporting and importing it.

Choose the layout

FieldValue
LayoutRAIDZ2
Disk Size80 GiB (HDD)
Width4, the number of disks in the group
Number of VDEVs1

The preview on the right should read 1 × RAIDZ2 | 4 × 80 GiB. Choose Save And Go To Review. The Log, Spare, Cache, Metadata and Dedup steps are optional and can be skipped.

Create it

Check the review, then choose Create Pool. TrueNAS warns that the disks will be erased. Tick Confirm and choose Continue.

Check it

The Storage page now shows the pool with four green ticks.

CardWhat you want
VDEVs1 x RAIDZ2 | 4 wide | 80 GiB
UsageAbout 148 GiB usable
Storage HealthOnline, no errors

Changing your mind

A layout cannot be converted. To change it, remove the pool with Export/Disconnect, tick Destroy data on this pool, type the pool name to confirm, and create it again. Everything on the pool is lost, so do this before you store anything.

Done when

Check

The pool shows RAIDZ2 across four disks, online with no errors.

Your progress is kept in this browser only.