I built a home server using an HP Microserver running FreeNAS. It’s a bit of a pain to set up, but itruns like a champ. There are 4 drive bays, but I have a pair of 3TB WD Reds mirrored for security and it’s been a pleasure to use.
If you run FreeNAS, the ZFS filesystem needs a minimum of 8GB RAM, so budget for that.