Linux Software RAID Recommendation

I’m building a new 2400G system w/ SSD for boot, 4 x 4TB WD Reds & 16GB RAM. I’ve never setup RAID before. I’ve heard a lot about ZFS being the hotness but not sure if it’s the right choice w/ the RAM available. The system won’t be on a super fast LAN either. The OS will probably be Ubuntu 18.04 server. I’d like the array to self heal if a drive has to be replaced.

Full system specs:

  • Seasonic 650W PSU
  • Ryzen 5 2400G
  • ASUS Prime B450M-A/CSM Mobo
  • Samsung 860 EVO 500G SSD
  • 4 x 4 TB WD Red spinning rust
  • 16 GB DDR4 Corsair 3000MHz C15 RAM

Thanks!

If you’re using Ubuntu, I’d recommend trying zfs. It’s really your best bet, and Ubuntu provides support for it in the official repos.

Now self-healing is doable, but you have to consider your tolerance and performance requirements. Because it’s “not going to be super fast”, I would recommend raidz-1, but others may recommend z2 for the added redundancy. It all comes down to capacity to fault tolerance tradeoff and how valuable the data is.

1 Like

16gb is fine for that amount of space. 16gb of ram and 16tb of raw HDD capacity. The recommendation is 1gb ram per 1tb HDD, and you have that ratio.

You can go lower on the RAM/HDD ratio, and it will still work fine, although don’t then turn on de-dup and expect good performance.

1 Like

Don’t turn on dedup and expect good performance, full stop.

That’s really only necessary for dedup, as is alluded to later.

ZFS, without tuning, will use up to 50% of your available system memory. You want to allow it at least 4GB in order to get decent performance, but after that, it’s all just improved caching.

1 Like

This is mostly for backup and not so much file share, I should have mentioned that in the OP. Space shouldn’t be an issue so I’ll opt for redundancy.

1 Like