Plan to build a NAS and want to use Proxmox advice

nickshanks

New Member
Apr 3, 2024
2
0
1
PCPartPicker Part List: https://uk.pcpartpicker.com/list/D7GN6Q

CPU: Intel Core i5-12400 2.5 GHz 6-Core Processor (£134.97 @ Amazon UK)
CPU Cooler: Thermalright Phantom Spirit 120 SE 66.17 CFM CPU Cooler (£0.00)
Motherboard: Gigabyte B760M DS3H DDR4 Micro ATX LGA1700 Motherboard (£104.95 @ Amazon UK)
Memory: Corsair Vengeance LPX 32 GB (2 x 16 GB) DDR4-3200 CL16 Memory (£43.98 @ Amazon UK)
Storage: Kingston NV2 500 GB M.2-2280 PCIe 4.0 X4 NVME Solid State Drive (£34.50 @ Amazon UK)
Storage: Seagate IronWolf Pro 16 TB 3.5" 7200 RPM Internal Hard Drive (£0.00)
Storage: Seagate IronWolf Pro 16 TB 3.5" 7200 RPM Internal Hard Drive (£0.00)
Case: Fractal Design Node 804 MicroATX Mid Tower Case (£99.98 @ Amazon UK)
Power Supply: Fractal Design Ion Gold 550 W 80+ Gold Certified Fully Modular ATX Power Supply (£87.01 @ Amazon UK)
Total: £505.39
Prices include shipping, taxes, and discounts when available
Generated by PCPartPicker 2024-12-28 02:27 GMT+0000

I like the idea that I can add more HDDs later on so I'm happy to initially start with 2 (or maybe even 1) drive. Does ZFS need a cache drive?

Also to get this to work optimally, do I install Proxmox on the M.2 OR install to the HDDs and have the M.2 as cache drive or is there a better way of doing this?
 
Good luck with the new install!

To clarify, you have (1) M.2 and a single pair of HDDs? Do you have a second m.2 slot?

You'll want to install Proxmox on either a single m.2, or optionally a pair of 500 GB m.2 name in a ZFS mirror for redundancy. You'll also want to install your VM on to either 2x2.5" SATA SSDs or 2xNVME (a pool of at least one mirror vdev). HDD storage can hold VMs, but it'll be very slow (writes at the write speed of the slowest HDD, slow random seek, etc.). SATA SSDs are plenty fast enough for mere mortal home server use, unless you're trying to saturate a 10 GbE NIC (and even then you can still do it with 4 of them in a mirror pool).

The 3.5" HDDs will let you do a ZFS mirror (similar to RAID 1). A cache probably isn't needed; caches in ZFS have very niche use cases. tl;dr ZFS uses free memory for its fastest cache, so you want to max your RAM before you add (slower) storage cache. Maximizing RAM until you can't anymore is the first thing you should do to make ZFS do ZFS things faster.

For best performance and ease of use for a NAS, consider that Proxmox isn't meant to be a storage server. It can be used that way, but you'll have to do things like manage users and permissions and shares on the CLI. Instead, enable PCIe passthrough and pass the SATA drive controller to a VM running NAS software (TrueNAS, etc.). The drives will show up there, and be fully managed by the NAS software without Proxmox being in the way. (TrueNAS will want 8-16 GiB of RAM dedicated to the VM, very preferably 16 GiB according to its documentation.)

Proxmox can be overwhelming to set up and get used to at first, but once you understand how it works, it gets a lot more intuitive and easy to use. I highly recommend this free course to get started: https://www.youtube.com/playlist?list=PLT98CRl2KxKHnlbYhtABg6cF50bYa8Ulo
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!