New FreeNAS User

Status
Not open for further replies.

bobkart

Cadet
Joined
Oct 2, 2015
Messages
4
Hello from The Pacific Northwest. I'm looking to build a FreeNAS server. I'm no stranger to servers in general but this would be my first FreeNAS server.

I have some (hopefully) easy-to-answer questions about ZFS. I don't know if this subforum or the Help & Support subforum is better for that . . . I'll try here first.

I've read a fair bit about ZFS, and think I have a grasp of the concepts, but am seeking clarification on a few points.

My first question involves the pool/vdev/disk hierarchy. My understanding is that a vdev is (typically) made up of several physical disks, then one or more vdevs comprise a pool. From browsing the FreeNAS web interface it looks like the term Volume is used to refer to a pool ('zpool' although according to the Terminology and Abbreviations Primer 'pool' is preferred).

I'm trying to compare/contrast an approach where several vdevs comprise a single pool to one in which each vdev belongs to its own pool (thus yielding multiple pools as opposed to just one). Here is what I'm seeing as the tradeoffs between the two approaches.

single pool with mutiple vdevs
Pros
- improved throughput due to striping across the vdevs
- content is automatically distrbuted across the vdevs
- any spares are shared by all vdevs
Cons
- loss of any single vdev in the pool results in loss of the entire pool

multiple pools with one vdev per pool
Pros
- loss of a single vdev does not cause a loss of the other vdevs/pools
Cons
- throughput is reduced due to lack of striping across multiple vdevs
- content must be read/written to a specific pool rather than to just the one
- no way to share spares across multiple pools

Have I at least gotten those Pros/Cons right, and what others might there be that I have yet to see?

I actually have a 'test server' built in the single-pool configuration right now (16x4TB drives) and am rsyncing to it from my current primary server, just to see how well it works as a backup server.

Thanks for your help!
 

Bidule0hm

Server Electronics Sorcerer
Joined
Aug 5, 2013
Messages
3,710
Yes, you got it right ;)

NB: it's one pool with one vdev of 16 drives? if yes: it's not recommended to go beyond 11-12 drives per vdev.
 

bobkart

Cadet
Joined
Oct 2, 2015
Messages
4
Thanks BiduleOhm.

One pool with three vdevs and a single drive as spare . . . each vdev is a five-drive RAIDZ1 array, so I get about 12 of the drives (3/4) in net capabity (48TB).

Not saying that's what I evenetually want to go with, just giving it a try that way for now. I know RAIDZ2 provides more fault tolerance (one of the reasons I'm moving towards FreeNAS/ZFS), and will likely try that soon; unfortunately it doesn't work out in a 16-drive enclosure, staying with "optimal" RAIDZ2 drive counts (4, 6, 10) unless my vdevs are of different sizes, something to be avoided for performance reasons I understand.

Since so far I'm just using this server for backup, RAIDZ1 might suffice, meaning that if I do suffer a total data loss I can back it up again.
 
Last edited:

bobkart

Cadet
Joined
Oct 2, 2015
Messages
4
I'm thinking two 8-drive RADIZ2 vdevs is as good as I'm going to get in a 16-bay enclosure. I liked the three 5-drive RAIDZ1 vdev approach because it left a drive for spare, and used an "optimal" vdev drive count.

But if you take the position that RAIDZ2 is better than RAIDZ1+spare then the above is better in that regard.

I'll be trying that next, thanks again for your help.

(Sorry for the double post, I probably should have edited the earlier reply instead.)
 

tyronebiggums

Dabbler
Joined
Aug 4, 2015
Messages
46
RaidZ1 is a no-no around here... :)
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
unfortunately it doesn't work out in a 16-drive enclosure, satying with "optimal" RAIDZ2 drive counts (4, 6, 10) unless my vdevs are of different sizes, something to be avoided for performance reasons I understand.

From the FreeNAS 9.3 manual:
Some older ZFS documentation recommends that a certain number of disks is needed for each type of RAIDZ in order to achieve optimal performance. On systems using LZ4 compression, which is the default for FreeNAS® 9.2.1 and higher, this is no longer true. See ZFS RAIDZ stripe width, or: How I Learned to Stop Worrying and Love RAIDZ for details.
 

Bidule0hm

Server Electronics Sorcerer
Joined
Aug 5, 2013
Messages
3,710
Don't worry about the "optimal" number of drives, it's not valid if you use compression and as it is enabled by default you likely use it.

Yep, RAID-Z1 isn't a good idea with drives bigger than 1 TB.

I recommend 2x RAID-Z2 of 8 drives.
 

bobkart

Cadet
Joined
Oct 2, 2015
Messages
4
RaidZ1 is a no-no around here... :)

That's understandable.

From the FreeNAS 9.3 manual:
Some older ZFS documentation recommends that a certain number of disks is needed for each type of RAIDZ in order to achieve optimal performance. On systems using LZ4 compression, which is the default for FreeNAS® 9.2.1 and higher, this is no longer true. See ZFS RAIDZ stripe width, or: How I Learned to Stop Worrying and Love RAIDZ for details.

Good to know; I'll check that link out, thanks!
 
Status
Not open for further replies.
Top