Case
An older tower with lots of HDD bays is a great idea for a start!
Sad art is they usually don’t have hot-swap bays. To swap out a drive (not just because of death, but because you’re add larger storage, etc), that requires you physically move the whole server and shut it down so you don’t have loose metal screws while it’s running.
I personally don’t recommend it, I have 3 kids now and don’t have time for that kinda stuff like I did 15+ years ago.
Hardware
ryzen was my only choice as I was going standard consumer
I don’t recommend using consumer hardware unless you can use ECC memory. Ryzen 3000 and higher support ECC, but I think it’s 1-bit vs 8-bit correction. Still, it’s better than no ECC.
You can use non-ECC just fine; I did it with no problems for 10+ years, but if one bit fails in your RAM, it could cause a cascade of data integrity failures. ZFS is reliant on memory for data integrity, so it’s extremely important to use ECC RAM.
I only ever used ZFS for backups in the past, so it wasn’t an issue for me. These days, I have every critical piece of data in ZFS, so having silent data integrity failures terrifies me.
Software
I was going to use trueNAS… and here is where I start getting into trouble… I looked and found out that ryzen was my only choice as I was going standard consumer
I have TrueNAS SCALE, the Debian Linux one. That has better hardware compatibility in general, especially for Ryzen.
i5-11600k LGA1200
This will work as well. Consumer hardware stuff works better in Debian than FreeBSD because consumers use Debian.
Apps like Plex
I run Plex and a number of other apps on my NASs such as Tailscale VPN.
TrueNAS SCALE has the capability of working with other Docker container maintainers like TrueCharts. That library is a critical upgrade in my opinion. It has just about every app you’d want in there.
It’s also much quicker and simpler to work with apps in TrueNAS SCALE because they’re containerized.
PSU
The wattage on PSUs doesn’t matter. What matters is the number of amps it can output for the drives’ +3V and +5V.
Even still, I did 20 HDDs and 8 SSDs on a single Corsair 430W (green color) modular PSU, so your 800W model is probably fine.
SATA Expansion
I don’t trust Chinese products. I own a few of these SATA expansion cards and never had a good experience. That might not be the case in 2023 though. In the past, I ended up buying a board with 12 SATA ports instead of dealing with these cards.
LSI models are great (I own 8 of them) and can be found super cheap, but the cabling is costly. You’re paying ~$30 for cables in addition to the card, but one cable can do 4 drives.
How many drives do you need now and in the future?
Drive size
I don’t recommend 6TB drives at all. 8-10TB are a much better buy, but 16-18TB are actually the sweet spot in terms of price per terabyte.
The issue with larger drives is you’re wasting a lot of space.
You either need 2 or 3 16TB drives. That’s ~$600 for 2 giving you only 16TB of space.
With 6TB, to get 16TB of space, you need a RAID-Z2 which is 5 drives. You’re paying ~$150/drive for 5 drives at ~$750 for a little more capacity.
But with smaller drives, you’ll have more overall storage capacity available because your parity drive is 6TB rather than 16TB. And it’s cheaper to replace a drive and cheaper to expand.
A word of warning on used drives:
I bought a bunch of HGST 10TB SAS drives from eBay last winter, and 9 out of 66 were bad. I ended up returning those at no cost thanks to eBay’s policies.
Drive cost comparisons
This compares surveillance drive costs at different capacities based on redundancy. This should give you a view into the difference in pricing among different ZFS configurations.
- Exact → No redundancy
- RAID-Z2 → A RAID-Z2 vdev for every 10 drives.
- RAID-Z2+2 → A RAID-Z2 vdev for every 10 drives with 2 zpool hot spares.
- Mirror → 2-drive mirrors for the exact number of disks. Usually, I have 2-4 zpool hot spares, but they’re not part of this cost.
120TB
Drive Size |
Drive Cost |
Exact |
Exact Cost |
RAID-Z2 |
RAID-Z2 Cost |
RAID-Z2+2 |
RAID-Z2+2 Cost |
Mirror |
Mirror Cost |
4 |
$92 |
30 |
$2,760 |
36 |
$3,312 |
38 |
$3,496 |
60 |
$5,520 |
6 |
$142 |
20 |
$2,840 |
24 |
$3,408 |
26 |
$3,692 |
40 |
$5,680 |
8 |
$220 |
15 |
$3,300 |
19 |
$4,180 |
21 |
$4,620 |
30 |
$6,600 |
10 |
$230 |
12 |
$2,760 |
16 |
$3,680 |
18 |
$4,140 |
24 |
$5,520 |
12 |
$270 |
10 |
$2,700 |
12 |
$3,240 |
14 |
$3,780 |
20 |
$5,400 |
16 |
$300 |
8 |
$2,400 |
10 |
$3,000 |
12 |
$3,600 |
16 |
$4,800 |
18 |
$330 |
7 |
$2,310 |
9 |
$2,970 |
11 |
$3,630 |
14 |
$4,620 |
100TB
Drive Size |
Drive Cost |
Exact |
Exact Cost |
RAID-Z2 |
RAID-Z2 Cost |
RAID-Z2+2 |
RAID-Z2+2 Cost |
Mirror |
Mirror Cost |
4 |
$92 |
25 |
$2,300 |
31 |
$2,852 |
33 |
$3,036 |
50 |
$4,600 |
6 |
$142 |
17 |
$2,414 |
21 |
$2,982 |
23 |
$3,266 |
34 |
$4,828 |
8 |
$220 |
13 |
$2,860 |
17 |
$3,740 |
19 |
$4,180 |
26 |
$5,720 |
10 |
$230 |
10 |
$2,300 |
12 |
$2,760 |
14 |
$3,220 |
20 |
$4,600 |
12 |
$270 |
9 |
$2,430 |
11 |
$2,970 |
13 |
$3,510 |
18 |
$4,860 |
16 |
$300 |
7 |
$2,100 |
9 |
$2,700 |
11 |
$3,300 |
14 |
$4,200 |
18 |
$330 |
6 |
$1,980 |
8 |
$2,640 |
10 |
$3,300 |
12 |
$3,960 |
70TB
Drive Size |
Drive Cost |
Exact |
Exact Cost |
RAID-Z2 |
RAID-Z2 Cost |
RAID-Z2+2 |
RAID-Z2+2 Cost |
Mirror |
Mirror Cost |
4 |
$92 |
18 |
$1,656 |
22 |
$2,024 |
24 |
$2,208 |
36 |
$3,312 |
6 |
$142 |
12 |
$1,704 |
16 |
$2,272 |
18 |
$2,556 |
24 |
$3,408 |
8 |
$220 |
9 |
$1,980 |
11 |
$2,420 |
13 |
$2,860 |
18 |
$3,960 |
10 |
$230 |
7 |
$1,610 |
9 |
$2,070 |
11 |
$2,530 |
14 |
$3,220 |
12 |
$270 |
6 |
$1,620 |
8 |
$2,160 |
10 |
$2,700 |
12 |
$3,240 |
16 |
$300 |
5 |
$1,500 |
7 |
$2,100 |
9 |
$2,700 |
10 |
$3,000 |
18 |
$330 |
4 |
$1,320 |
6 |
$1,980 |
8 |
$2,640 |
8 |
$2,640 |
50TB
Drive Size |
Drive Cost |
Exact |
Exact Cost |
RAID-Z2 |
RAID-Z2 Cost |
RAID-Z2+2 |
RAID-Z2+2 Cost |
Mirror |
Mirror Cost |
4 |
$92 |
13 |
$1,196 |
17 |
$1,564 |
19 |
$1,748 |
26 |
$2,392 |
6 |
$142 |
9 |
$1,278 |
11 |
$1,562 |
13 |
$1,846 |
18 |
$2,556 |
8 |
$220 |
7 |
$1,540 |
9 |
$1,980 |
11 |
$2,420 |
14 |
$3,080 |
10 |
$230 |
5 |
$1,150 |
7 |
$1,610 |
9 |
$2,070 |
10 |
$2,300 |
12 |
$270 |
5 |
$1,350 |
7 |
$1,890 |
9 |
$2,430 |
10 |
$2,700 |
16 |
$300 |
4 |
$1,200 |
6 |
$1,800 |
8 |
$2,400 |
8 |
$2,400 |
18 |
$330 |
3 |
$990 |
5 |
$1,650 |
7 |
$2,310 |
6 |
$1,980 |
30TB
Drive Size |
Drive Cost |
Exact |
Exact Cost |
RAID-Z2 |
RAID-Z2 Cost |
RAID-Z2+2 |
RAID-Z2+2 Cost |
Mirror |
Mirror Cost |
4 |
$92 |
8 |
$736 |
10 |
$920 |
12 |
$1,104 |
16 |
$1,472 |
6 |
$142 |
5 |
$710 |
7 |
$994 |
9 |
$1,278 |
10 |
$1,420 |
8 |
$220 |
4 |
$880 |
6 |
$1,320 |
8 |
$1,760 |
8 |
$1,760 |
10 |
$230 |
3 |
$690 |
5 |
$1,150 |
7 |
$1,610 |
6 |
$1,380 |
12 |
$270 |
3 |
$810 |
5 |
$1,350 |
7 |
$1,890 |
6 |
$1,620 |
16 |
$300 |
2 |
$600 |
4 |
$1,200 |
6 |
$1,800 |
4 |
$1,200 |
18 |
$330 |
2 |
$660 |
4 |
$1,320 |
6 |
$1,980 |
4 |
$1,320 |