Is my hardware enough?

Status
Not open for further replies.

Ansem

Dabbler
Joined
May 14, 2016
Messages
15
Hi guys. I built this pc to use it as nas:
- asrock H170M pro4S (I know it's not a supermicro, but it support RAID1)
-Intel pentium g4400
-8G of ddr4

This is what I want to do with it:
- NAS with 2 RAID1. I already have a raid1 made with 2 WD caviar red 4TB, I want to add an other one next year
- plex server
- torrent
- Run a small VM as mail server
Is my hardware enough for it? Or should I use a different OS? :(
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
(I know it's not a supermicro, but it support RAID1)
The motherboard's "support" for any RAID level is irrelevant and should not be used. FreeNAS manages all the RAID functions for you. If you're going to run a VM and a Plex server, I'd suggest at least 16 GB of RAM.
 

Ansem

Dabbler
Joined
May 14, 2016
Messages
15
Late now, I already bought everything.
Is ZFS really so heavy that 8GB can't handle a media server,torrent and a VM with 512GB of ram?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
FreeNAS with ZFS is pretty heavy. So is Plex. I assume you meant 512 MB (not GB) of RAM on the VM, which isn't too bad, but with the other things, I'd recommend more than 8 GB. You can always add RAM later, though, if you need it.
 

Ansem

Dabbler
Joined
May 14, 2016
Messages
15
probably not for now :( i'll try with other operating system like OMV or windows 10/server 2012 so :(
 

Nick2253

Wizard
Joined
Apr 21, 2014
Messages
1,633
Late now, I already bought everything.
Is ZFS really so heavy that 8GB can't handle a media server,torrent and a VM with 512GB of ram?

The rule of thumb for ZFS, which is pretty accurate at small array sizes, is 1GB of RAM for every 1TB of hard drive space (raw HDD space, not usable). Assuming you're looking at 4x 4TB drives, I'd be aiming for 16GB of memory for sure.

On top of that, Plex can be fairly demanding, depending on how you use it. If you do any kind of transcoding with Plex, I'd recommend a beefier CPU, and again, more memory.

You mention a VM for a mail server. What OS are you thinking about here? And what software? If you're looking at some variation of Linux, most likely the software package you're thinking about using has been ported to FreeBSD, and you could run it in a FreeBSD jail (which will be much less resource intensive than running a full VM).

NAS with 2 RAID1. I already have a raid1 made with 2 WD caviar red 4TB, I want to add an other one next year

When you say that you "already have a RAID1", what do you mean? In FreeNAS, you want ZFS to manage all RAID functions. This means that any existing drives you have (unless they are already ZFS), will need to be reformatted by FreeNAS in order to use them. In other words, you'll need to backup the data on your existing drives before you can use them in FreeNAS.

Furthermore, ZFS does not use the same language to describe RAID as typical hardware RAID setup. For example, ZFS does not have RAID1; they have mirrors. The precision in language here is important, because it prevents confusion between ZFS doing the redundancy (good), or the underlying hardware doing the redundancy (bad). Cyberjocks presentation (https://forums.freenas.org/index.ph...ning-vdev-zpool-zil-and-l2arc-for-noobs.7775/) is a fantastic read for people new to the world of ZFS.

asrock H170M pro4S

A lot of people here use motherboards other than SuperMicro. However, what very few people do is use consumer motherboards for FreeNAS. This is driven by a few factors: (1) they rarely (if never) support ECC memory, which is viewed largely as a requirement around here*, (2) they don't always have the best FreeBSD support, which means they can have weird problems that can be nearly impossible to resolve, (3) they come will all sorts of unnecessary hardware, like audio, that has been known to cause problems, and (4) of the hardware you do need, like your NIC, they often times use less-quality NICs that run in to problems for NAS applications.

*The view towards ECC is, in my opinion, a reflection of the fact that ZFS is about the best thing out their for data security. However, if you view your data as "expendable", then there's really no good reason to use ZFS in the first place, considering its outrageous system requirements. Obviously, there are people out there who fit in the middle, but from my experience here, and seeing the horror stories of people desperately trying to get back lost data that originally was "replaceable", most people are looking for the data security ZFS provides, and the cost difference to go with an ECC solution is minimal (usually no more than ~$150 for the better motherboard and RAM).
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
The rule of thumb for ZFS, which is pretty accurate at small array sizes, is 1GB of RAM for every 1TB of hard drive space (raw HDD space, not usable).
The rule of thumb is deliberately vague as to whether it refers to raw HDD space or usable pool capacity.
 

Nick2253

Wizard
Joined
Apr 21, 2014
Messages
1,633
The rule of thumb is deliberately vague as to whether it refers to raw HDD space or usable pool capacity.

You say that like it's been officially written down somewhere.

As it's a rule of thumb, I'd say that it's meant to be a general guideline, not a hard-and-fast rule, which implies a lot of variability based on different circumstances. Furthermore, the idea that it's deliberately vague with respect to raw vs usable is kind of ridiculous. By saying that the rule of thumb could ever be interpreted as "usable pool capacity", that would imply that increasing an array's parity level would somehow decrease its memory needs. Considering that two major uses of memory for ZFS are checksum (which exist for all data) and parity data, I'm not sure how you could reach that conclusion.

If you want to say something like "well, 1GB is vague, and it could be 800MB to 1.5GB depending on pool size", I'll buy that no problem. But, again, the idea that raw vs. usable is where the vagueness exists, or even that it's deliberately vague, just seems silly.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
I've always been deliberately vague about that, because this isn't a mathematical equation. You know how you can hook up a pop-up camper to your Ford F350 truck and you KNOW that's going to work, period. Or you can hook it up to a hitch on your Toyota Avalon and be comfortable. But you start moving down the line to the Nissan Altima, and you're getting close to a point where you might not want to try pulling that through the Rockies. And hooking it up to your Toyota Prius? Forget about it. Unless you're rolling downhill all the way.

We generally know that for the average case, you need a certain minimum amount of RAM for a given amount of disk to work well. It's not an absolute rule, and in almost every case, more RAM is better than less RAM.

So for the guy who comes in wanting to know if he can build an 8TB usable disk space pool on an 8GB RAM system, we kinda expect that to be reasonable. Not a stellar performer. I can throw a workload at that and make it cry, but for average home user use, it's "fine."

Then the business guy who wants a small office fileserver, I don't feel bad about telling him that he should get 16GB for his 4x4TB RAIDZ2, and that even though it'll probably work okay on 8, it'll be zippy on 16. They're usually fine hearing that, and more often than not, they were kinda figuring it that way anyways, because they weren't hoping for the cheapest solution possible, but rather the best.

Once you start giving people absolute rules, they start applying them and (entertainingly/annoyingly) try to explain to you how you're wrong about how they've applied some rule of thumb that you wrote.

ZFS has so few absolutes.
 

Ansem

Dabbler
Joined
May 14, 2016
Messages
15
thanks everyone for all the answers.
I read everything (even if too much late), so I think that my configuration it definitivelly not the best for Freenas :(
It's a pity that it doesn't support things like EXT4, XFS or BTRFS for people that like free nas, but still doesn't have enough money, or simply doesn't need so much securety :(
Also because of the many problem I'm having with haswell and linux (I'm trying OMV right now), I'll probably will use windows as NAS even if it's not the best solution
 
Status
Not open for further replies.
Top