Config help - new to TrueNAS

tjay2024

Cadet
Joined
Jan 31, 2024
Messages
2
Hello-
I'm migrating off an old RAID 6 config i ran for 7 years, its actually still running, just working on getting this setup. I'm going to configure TrueNAS core to run in a hyper-v (granting 8gb reserved RAM and 100GB on local ssd, probably give it 2-4 cores out of a 10th gen i5), and pass in 10 8TB hard drives via a HBA w/ netapp disk shelf.

I want dual redundancy, if I loose 2 drives I want system to stay up and continue to serve data, hot swap in a drive and go on.

Can someone provide me config I want for this? I eventually want to also setup smb share for 2 other systems to access the pool. Speed isn't really a concern, just don't want to loose data.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Using your requirement for 2 disks of redundancy and general speed, (not highest speed), RAID-Z2 is likely what you want. This is similar to RAID-6 in that you can loose any 2 disks and still have full access to your data.

In general, you don't want more than 10 to 12 disks in a vDev, (virtual Device, a ZFS term). Too many disks in a RAID-Zx vDev can cause problems with speed and disk replacement speed. Of course, ZFS supports multiple vDevs in a single ZFS pool... so if you have 20 disks, 2 x 10 disk RAID-Z2 vDevs are possible. That's 4 disks of redundancy, 2 per vDev. Redundancy is at the vDev level, so in the example of 2 x 10 disk RAID-Z2 vDevs, you can loose 4 disks total, as long as it is only 2 disks per vDev.

Next, if you have a spare disk slot, you can perform a replace in place for any disk not yet completely failed. This allows the failing disk to supply some data, and when it can't, then other redundancy from RAID-Z2 is used. In essence, this "replace in place" feature mirrors the failing disk, unless the failing disk can't supply valid data. Then the other disks are used for that data. And when this special "mirror" is complete, the failing disk is freed up and no longer part of the vDev. Please note that ZFS checks the checksum of all data, so ZFS knows "valid data" verses corrupt data.

I recommend reading this;

It is also highly recommended to read up on both ZFS and TrueNAS. Both have limitations and some people find one or both not suitable for their needs.

All those links are to TrueNAS Resources, a special place in these forums for community supplied helpful guides and documentation. See the top any forum page for a direct link to the Resources section, (or the Documentation section, or the Report a Bug page).
 

tjay2024

Cadet
Joined
Jan 31, 2024
Messages
2
Thank you for taking time to put that together. All good info, appreciate it!
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Your welcome.
 
Top