Newbie Pool Recommendation

Hi all. First post so please be nice.

I want to build a rather beefy NAS. Primarily for storing 4k videos and need to be able to handle a good 10 streams. May also run a few iscsi shares for VMs

I have the following drives available and just would like some thoughts on the array setup.

2x 400Gb SAS SSDs
16x 8Tb SAS drives
4x 800Gb Sata drives

They are all enterprise drives.

The 2 400gb sas ssds are going to be in a mirror for boot drives regardless of storage pool layout.

The two options I see are:
Option 1: 2x raid2z vdevs 8 wide
Or
Option 2: 8x mirrored vdevs 2 wide.

Will probably use all 4 800gb sata drives for meta and small files unless someone tell me otherwise.

The system has 320Gb ddr4 ecc and dual e5-2698v4 cpus (may downgrade these as overkill)

Which pool layout would you guys and girls recommend?

Reading or Writing speeds? Block storage, aim for under 50% pool usage.

BASICS

iX Systems pool layout whitepaper

Special VDEV (sVDEV) Planning, Sizing, and Considerations

1 Like

I would just do 2 x 8-disk raidz2.

I wouldn’t bother with with separate meta/small file special vdevs. Especially for primarily video (large file) storage. It’s just added complexity that will give little benefit for your use-case. If you decide to do it anyway, don’t forget redundancy.

I wouldn’t sacrifice capacity by using mirrors to store video. The highest bitrate movies are going to average 100mbps (12.5MB/s) or less. “Encodes” and web-sourced video generally uses a far lower bitrate.

CPU performance isn’t really important for video streaming or file sharing. I used a Xeon e3-1275v6 in my previous mATX build. CPU utilization stayed around ~10% with ~40 containers running and a few large pools. The storage will be the bottleneck before the CPU will.

Not sure what you’d need 320gb RAM for from your post, but can’t have too much.

I didn’t see any mention of graphics. Unless you’re sure all clients will be able to direct stream all formats, you’ll want a GPU of some sort. My old build used the Xeon’s integrated graphics, which was more than sufficient for transcoding high-bitrate 4k hevc videos. My new build has a low-profile Arc A380. I don’t know how many simultaneous transcodes it would be able to handle.

Thanks for your reply’s.

I was leaning towards the raidz2 setup for the reasons you noted.

I was considering the special device vdevs as I thought this could help when scanning libraries etc. Also thought it could help for small files like subtitles and thumbnails etc.

Think I’ll downgrade the cpus and lll move abit of ram to one of my proxmox servers.

I have a separate server with dual v100 in that is used for some AI stuff so the steaming will be through this server.

All networking is currently 20Gb between servers the servers.

Sure, a special vdev for metadata would help and I considered it for my own build, but ultimately decided the small benefit it would give wasn’t worth permanently dedicating 2+ drives per pool. ZFS will cache metadata/folder structure in RAM. I don’t know how easily it gets evicted, but I believe it’s a tunable.

For subtitles and thumbnails/cover art… Well subtitles are small files that can easily be loaded from an old, slow spinning disk before the first line even needs to be displayed. Thumbnails/cover art are stored in my Plex metadata on flash.

In the end, I just don’t think ‘the juice is worth the squeeze’ on a system that might be used by 10 simultaneous users. Any situation where a VM would benefit, I’d just use a flash pool. Not trying to talk you out of it, just rambling the reasons I talked myself out of them :slight_smile: If I ever built a draid (another thing I’ve talked myself out of), I’d consider one for small files to reduce wasted space.

It sounds like this will purely be file storage. In that case, CPU is even less important. My old e3-1275v6 utilization was always low despite hosting a lot of active containers and sharing a large amount of data.

Thanks for your advice.

Just started building it out and I can also get 2 sata drives in anyway :cry: I could wire the rear two bays to the onboard sata and then keep the current dual nvme pcie cars and then I could fit them all, it I really can’t be bothered :rofl:

Onto downgrading the ram and cpus. First for everything I guess :joy:

Just decided I’m going throw two 800gb SATA in and as I have a spare slot and Tesla P4 :man_facepalming:t2:

CPUs now e5-2650v4s as there the slowest I could find in my spares box and now down to 128Gb.

Time to install, test and then move 20tb off another machine :crossed_fingers: