This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Setting up ZFS with RAID-Z3

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
philm
Starter
Starter
Posts: 24
Joined: 20 Jul 2016 01:10
Status: Offline

Setting up ZFS with RAID-Z3

Post 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?

sleid
PowerUser
PowerUser
Posts: 774
Joined: 23 Jun 2012 07:36
Location: FRANCE LIMOUSIN CORREZE
Status: Offline

Re: Setting up ZFS with RAID-Z3

Post 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
12.1.0.4 - Ingva (revision 7852)
FreeBSD 12.1-RELEASE-p12 #0 r368465M: Tue Dec 8 23:25:11 CET 2020
X64-embedded sur Intel(R) Atom(TM) CPU C2750 @ 2.40GHz Boot UEFI
ASRock C2750D4I 2 X 8GB DDR3 ECC
Pool of 2 vdev Raidz1: 3 WDC WD40EFRX + 3 WDC WD40EFRX

philm
Starter
Starter
Posts: 24
Joined: 20 Jul 2016 01:10
Status: Offline

Re: Setting up ZFS with RAID-Z3

Post by philm »

Ok, Thank you for the info. Is there any RAIDZ version that I can use all 24 drives?

sleid
PowerUser
PowerUser
Posts: 774
Joined: 23 Jun 2012 07:36
Location: FRANCE LIMOUSIN CORREZE
Status: Offline

Re: Setting up ZFS with RAID-Z3

Post by sleid »

raidz2 4 x 6 ou 6 x 4
raidz2 is faster than raidz3
12.1.0.4 - Ingva (revision 7852)
FreeBSD 12.1-RELEASE-p12 #0 r368465M: Tue Dec 8 23:25:11 CET 2020
X64-embedded sur Intel(R) Atom(TM) CPU C2750 @ 2.40GHz Boot UEFI
ASRock C2750D4I 2 X 8GB DDR3 ECC
Pool of 2 vdev Raidz1: 3 WDC WD40EFRX + 3 WDC WD40EFRX

philm
Starter
Starter
Posts: 24
Joined: 20 Jul 2016 01:10
Status: Offline

Re: Setting up ZFS with RAID-Z3

Post 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?

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Setting up ZFS with RAID-Z3

Post 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/
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

Post Reply

Return to “ZFS (only!)”