I have been wanting to create my own NAS for a long time and recently saw a sale (or discounted refurbished hardware.) I just got my foot wet and bought 8x4tb 2.5 HDDs. Now when I sleep I dream of electric small form factor Mini-ITX builds.
Since the hard drives are refurbished I would plan to setup the ZFS raid to accept 2 disk failures. Leaving 24tb of storage on the NAS.
My overall goal is to have a small system that would support a few plex users, store my linux & windows home directory, Media backup/Storage, use jails, docker & VMs and have future expansion capabilities.
Overall build components (please mention a section you are giving advice on in replies, Thanks)
Hard Drives
Main concern is early failure rates with these refurbished hard drives. I want to do an appropriate burn in test to check that these drives won't die early. So far I've started smartctl long test and once that is done I will run badblocks on each drive. I also used DBAN to wipe the drives as a stress test but writing to all 4tb takes a while. Doing tests from linux usb dongle or boot cd because my personal rig has all 8 sata ports utilized for doing tests. Other tools/tests I can perform on linux would be helpful.
Case/Form factor
- CS280 Mini-ITX
- SG11 Micro ATX
- SG12 Micro ATX
- Lian-Li PC-M25 Micro ATX (Top choice)
I was initially inspired by SilverStone's CS280 case because of the small form factor and hot swappable bays. I care little about how cramped it would be to build in but I am worried how well thermals are for this case. The case only supports Mini-ITX and there are not many options with Ryzen at the moment. With that in mind I am also considering the SilverStone SG11 and SG12 since Micro ATX will give some PCIE expansion capabilities.
A Mini-ITX build would be easier for me if I could setup PCIE bifurcation or get sata multipliers. It seems that bifurcation can work on some boards but manufacturers don't really support it. Getting a sata multiplier sounds great but the cheap ones only do sata II and split one port 5 ways that would bottleneck the drives that can do 130mb/s max to about 50mb/s. The lowest sata III model on amazon looks like a good price and would have 100mb/s bandwidth if all drives are running. (chose to move in a different direction)
Motherboard
- MSI B350M MORTAR
- ASRock J4205-ITX (Leaning towards heavily now)
This is the hardest choice for me personally because I would really like a Mini-ITX board but there very few choices and finding one with 8 sata ports just won't happen. I plan to make this a headless system so no GPU needed. Problem is if I grab a Mini-ITX I'd probably have to use the only PCIE slot for sata expansion when I might want to use it for something else later.
I've heard ASRock or Gigabyte X370 can do PCIE bifurcation and I would love to set up something cool with a riser card. A sata multiplier might fix this problem for me but the AM4 Mini-ITX boards are all out of stock at newegg and I'd like to see the options other companies are planning to release. (Links to unreleased boards appreciated)
If I step into the world of Micro ATX I find the MSI B350M Mortar that seems to check all the boxes for what I need. It will still need a sata PCIE expansion card or a sata multiplier.
CPU
- Ryzen 7 1700 (sweet spot price/performance but probably overkill for a NAS)
- ASRock J4205-ITX (Leaning towards heavily now)
Memory
Note: No longer looking for ECC ram I have some quality laptop ram that should work great in the board I am looking at.
I was looking to just get the cheapest ECC DDR4 kit on newegg. I'm planning on using ZFS deduplication feature and that requires a whole lotta ram. My concern is If I have 24tb of data I'd needed 28gb of ram to support this.
First option is grab as much ram as possible and max out a system with 32gb of ECC ram. I'm very tentative about that because of how much it hurts my bank account. Second is get 8gb of ECC and use my Samsung 950 PRO M.2 for a swap drive to prevent a system lock from thrashing. On my personal rig it has been a great solution for programing with large data sets where I have 16gb ram and 16gb extra swap on the NVME drive. I can do work on 32gb of data fully utilizing my 4 cores without having my system lock up and crawl to a halt.
If anyone knows this would work I'd be real glad to hear it. I was initially planning to use the NVME drive as a cache. I'm worried there would be an issue if the cache drive cannot be partitioned to be part swap for when the ram overflows into the page file.
PSU/UPS
Thinking 80+ gold or better for PSU that is modular If I could grab something cheap from a retired ethereum Miner that might be the best value. For a UPS I have no clue what would work with FreeNAS and shut down or suspend during a power outage. Does not need to be up 24/7 so something low power that will integrate with the NAS and allow a graceful shutdown is all I need.
I'm probably thinking of a system that will be overkill for my use case. If possible I'd go for a system with something like an ASRock j3455m then upgrade in the future when I know I need a more powerful system and make a HTPC from the old parts. Just worried that system would be underpowered for the here and now.
If you have comments advice or warnings that I'm french frying when I should be pizzaing then thanks for leaving a comment and helping to prevent a bad time.
Edits: Add new hardware based on responses.