Skip to main content

Creating a Storage Pool

Before you can store any data on the drives in TrueNAS, you need to first create a storage pool.

Navigate to the TrueNAS WebGUI, and login.

image.png

On the left side, select Storage -> Pools.

Screenshot 2021-07-29 122335.png

Click on Add on the top right.

Screenshot 2021-07-29 122407.png

Select Create new pool, and Create Pool.

Screenshot 2021-07-29 122426.png

The Pool creation process is pretty straight forward. On the Available Disks side, you will see all the HDD or SSD that the system have detected.

Screenshot 2021-07-29 122446.png

Give your pool a name, and check on the Encryption option to enable encryption at rest.

It's a good idea to enable encryption for your storage pools so that your data are safe from prying eyes if the physical disk is physically pulled from the system, or if you need to RMA a disk.

Screenshot 2021-07-29 122649.png

Read the warning, then check Confirm and click I Understand.

Screenshot 2021-07-29 122719.png

There are a few encryption options in TrueNAS. Choose the one best suited for your hardware.

If you have a more modern or more robust hardware, go with AES-256-GCM encryption. This is one of the highest level of encryption option, but does use quite a bit of CPU power.

Screenshot 2021-07-29 122744.png

Once you have set the encryption, you can now select the disks to add to the pool.

Check the disks you want to add to the pool, then click the right arrow to add it to the Data VDevs side. In the below picture, I have four 3TB HDDs in the TrueNAS system, so I will be adding all four into the pool.

Screenshot 2021-07-29 122818.png

Once added, you can see that a RAID type is automatically selected. TrueNAS often will choose a RAID level depending on the number of disks added to the Data VDevs.

TrueNAS have the following option for RAID:

RAID
Minimum Number of Disks
Redundancy Level
Description

Stripe

1 Disk
None
Similar to RAID 0, all disks are used. If any disk fails, all data in the pool will be lost.
Mirror
2 Disk
1 Disk
Similar to RAID 1, data is mirrored on each disk. No data loss as long as one disk is still functioning.
RAID-Z
3 Disk
1 Disk
Similar to RAID 5, uses 1 disk for parity, and can tolerate up to 1 disk failure before suffering data loss.
RAID-Z2
4 Disk
2 Disk
Similar to RAID 6, uses two disks for parity, and can tolerate up to 2 disk failure before suffering data loss.
RAID-Z3
5 Disk
3 Disk
RAID-Z3 uses 3 disks for parity, and can tolerate up to 3 disk failure before suffering data loss.

Screenshot 2021-07-29 122842.png

Screenshot 2021-07-29 122954.png

Once you selected your RAID level, select Create to create the new pool.

For this system, since I have four 3TB disks, I went with RAID-Z. This gives me up to 1 disk failure tolerance, with about 9TB of usable storage space.

Screenshot 2021-07-29 123012.png

Data on the existing disks will be erased. Confirm and proceed to create the pool.

Screenshot 2021-07-29 123031.png

Screenshot 2021-07-29 123045.png

When finished, and if your pool is encrypted, TrueNAS will give you the option to download the Encryption Key. Download and keep this key safe.

Remember, without the Encryption Key, you will not be able to decrypt the data on the pool. Keep the Encryption key safe in order to have access to your data.

Screenshot 2021-07-29 123101.png

Screenshot 2021-07-29 123118.png

That;s it! You should now see the newly created Storage Pool.

Screenshot 2021-07-29 123143.png