I just got this working again tonight. Now on my server I am running a macOS VM that will let me install macOS Server and allow some finer controls over my devices. The big thing I am excited for is creating a unified HTPC image using netboot. It’s my early IT days all over again!
The last time I wrote about my server was three years ago. A lot has changed since then. Here’s some of the main points:
- I dropped RAIDZ and have moved onto RAIDZ2. This gives me two parities per vdev
- RAIDZ2 requires at least 5 disks in a vdev. I chose to go with 7 which means I needed four more 3TB drives.
- At some point in 2016 I decided this wasn’t enough and added another seven 4TB drives in another vdev.
- This makes my entire zpool stand at a whopping 28.5TB usable disk space. For some that may seem like a lot, but I’m planning on getting to at least 70TB by 2019. I will most likely run out of space before then.
- I dropped the i5 3350p for an Intel Xeon E1230v2. This paired with a Supermicro X9SCL-F motherboard gives me VT-d support which I’ve been meaning to play around with for a while.
- This motherboard came out of box incompatible with my processor. I’m writing another post soon™ on what went wrong.
- I switched from dirty non-ECC RAM to unbuffered ECC. Sure it’s not needed for ZFS, but if you’re going to build a server, build it right. (Also the motherboard has extra features that I was but doesn’t support anything other than unbuffered ECC)
My father was a photographer for around 35 years and towards the end of the 20th century he purchased a Imacon (now Hasselblad) Flextight Precision II hybrid film scanner. This was back in the days where digital photography wasn’t feasible for quality and film was king. The Flextight allowed him to scan negatives into a digital format at an insane quality (even by most of today’s standards) and then do things like color correction via software, something we take for granted these days.
At home I have a custom-built NAS that I use for all of my storage needs. I use it all the time to store files like game client downloads and backups of my games on Steam. It just makes it easier to restore after an install or when a friend needs to copy a game over. Recently however I was referred to LANcache.
As pointed out by some commenters, the previous nginx config was incorrect and missing some server names. This post has been updated to reflect those changes.
I had to redo my caching server recently and I can 100% confirm that this guide will work correctly. Nothing like a clean install!