Me and a couple of friends have been running our own root server for literal decades, and the hardware is getting a bit long in the tooth, so time for an upgrade.

The question right now is which storage configuration to pick, it's mostly a choice between RAID0-ish(*) over 2 x 8 TB disks or RAID5 over 3 x 4 TB. What does the fediverse think?

(*) not a live RAID0, but a nightly mirror from main disk to backup disk

#selfhosting #linux #sysadmin

2 disks, mirror
30%
3 disks, RAID5
25%
Something else?
45%
Poll ended at .
@floe #ZFS RAID-Z[23]. Else, ZFS mirror.
@ax6761 I admit I've never touched ZFS - from what I can see in the nice primer here (https://blog.victormendonca.com/2020/11/03/zfs-for-dummies/), RAIDZ-2 would require at least 4 disks, do you think RAIDZ-1 would also be an option or are there some pitfalls I'm not aware of?
ZFS for Dummies ยท Victor's Blog

A ZFS cheat sheet for beginners

Victor's Blog

@floe Yes more or less, for you can make ZFS RAID-Z2 with 3 disks, giving you usable space of about only 1-disk worth.

With 4+ disks, you get more usable space (& the ZFS pool can tolerate failure of 2 disks).

@ax6761 @floe RAID-Z2 needs at least 4 disks ๐Ÿ‘ (assuming that was a typo ๐Ÿ˜€)

@ToshInMacc What was the typo? What OpenZFS document mentions the absolute need for minimum of 4 disks?

For #RAIDZ2 #OpenZFS documentation mentions https://openzfs.github.io/openzfs-docs/Basic%20Concepts/VDEVs.html#what-are-the-different-types-of-vdevs ...

ใ€Ž... Requires at least 3 disks (5+ recommended), can tolerate two drive failures.ใ€

@floe

VDEVs โ€” OpenZFS documentation

@ax6761 @floe I stand corrected and apologies! In my head, being similar to RAID-6, it had the same limit. So glad I know this now. ๐Ÿ‘

@ToshInMacc All good; I got the understanding of RAID 6 https://en.wikipedia.org/wiki/Standard_RAID_levels .

@floe

Standard RAID levels - Wikipedia

@ax6761 @floe Worth noting that a three-member raidz2 and a three member mirror give the same fault tolerance and write performance, but there are two major differences. The mirror will have about 3x the read performance, while the raidz2 allows expanding the poolโ€™s capacity one disk at a time while maintaining fault tolerance.

If youโ€™re only ever going to have three disks, a three-member mirror is strictly better.