Page 1 of 1

Setting up ZFS with RAID-Z3

Posted: 20 Jul 2016 18:06
by philm
Hello everyone,

I am looking to setup a ZFS filesystem with RAID-Z3. This is my first time setting up a ZFS system and a RAID system. It would be very useful if I could get a step-by-step guide on how to properly set this up.

I did find a "guide" where someone posted their steps in a question. Here is a link to the post: http://www.nas4free.org/forums/viewtopic.php?t=1859

However, it looks like there were some bugs in the earlier versions of NAS4Free when setting the RAIDZ in webGUI. Does anyone know if these bugs have been fixed with the latest release?

If not, how would I setup the RAIDZ from the console if I have 24x2 Tb drives?

Re: Setting up ZFS with RAID-Z3

Posted: 20 Jul 2016 18:51
by sleid
First, it is not recommended to use more than 10 disks in a VDEV.
Raidz3 ideally must be 5, 7 or 11 disks.
In your case you have to create 3 vdev with 7 discs each.
Either you create your 3 vdev from the web gui
Either in console mode you create your pool with 3 vdev with 7 discs.

zpool create yourpool raidz3 disk0 disk1 ... disk6 raidz3 disk7 disk8 ..... raidz3 disk13 disk14 disk16..disk20

yourpool : name of your pool
disk0 : ada0 for example

Re: Setting up ZFS with RAID-Z3

Posted: 20 Jul 2016 19:35
by philm
Ok, Thank you for the info. Is there any RAIDZ version that I can use all 24 drives?

Re: Setting up ZFS with RAID-Z3

Posted: 20 Jul 2016 20:35
by sleid
raidz2 4 x 6 ou 6 x 4
raidz2 is faster than raidz3

Re: Setting up ZFS with RAID-Z3

Posted: 21 Jul 2016 03:26
by philm
Ok, we are not using the NAS as a web server. It is more for storing files and accessing them on the local intranet. So read/write times will not be as frequency unless we are uploading lots of data. Am I still able to put all of the 24 drives into a RAIDz2 or RAIDZ3 configuration?

Or should I look at implementing a RAID5 system instead?

Re: Setting up ZFS with RAID-Z3

Posted: 21 Jul 2016 06:10
by raulfg3
ZFS is better that RAID5

use of RaidZ2 is enough for all your needs.

I personally use RaidZ1 in my home NAS

please read more: https://forums.freenas.org/index.php?th ... oobs.7775/