Now I am wondering about vdev layouts.
This will primarily be used as Plex storage.
I already have a 12-bay SSD pool on my Synology that I am using for my photos and other IOPS-heavy stuff.
That said, I don’t mind if the TrueNAS server has good IOPS (that is always nice).
Now, there are many posts about vdev layouts, but often the number of disks is fixed for these posts. My situation is a bit different, as I have quite some freedom on the number of disks (starting with an empty 45 bay JBOD).
I will likely eventually go for 196 GB of RAM (and thus possibly not need an L2ARC device, though it will be trivial to install an M.2 SSD if needed).
I understand I won’t benefit from a SLOG device.
Also, I do not want to mess with a metadata device (though I understand a three-way mirror of SATA SSDs would be a good choice for this).
I will likely go for 28 TB disks (or similar, depending on market prices).
Regarding storage needs: any of the numbers in the table below are ‘ok’ for me. Clearly I don’t want to waste money though.
I think I understand the parity implications. I drafted the table below.
The IOPS and throughput implications are a bit less clear to me.
My favourite layout is currently 3 vdevs of width 8 using RAIDZ2, equating to 24 drives.
I think that the sweet spot in price per TB is currently at slighly lower capacities thant 28 TB. Check that for your calaculations.
Do you have a backup of your data?
If no, you may want to avoid 10-wide raidz2 and add a few spares to increase resiliency. Or go for raidz3.
Do you expect that storage may expand to fill all bays in the enclosure? If so, 6-wide or 7-wide, with up to 3 spares, looks like nice divisers. (With raidz3, 4*11-wide + 1 spare.)
It is unclear to me if I will ever fill out the entire JBOD. But 6* 7 is 42 leaving 3 spares (obviously 5*9 is 45 which would be another option). So right now, going with 21 drives initially seems tempting.
I will need a few months before I can invest in HDDs.
I have a backup of the important bits (which is only a small portion of the total storage).
I can check again regarding pricepegig etc. serverpartdeals has an interesting offer for 28TB drives these days.
My system has two VDEVs in its pool, each consisting of 8 spinning disks in RAID-Z3, with no cache or slog SSDs.
Together they can achieve a whole gigabyte per second on a 10-gigabit network.
I don’t know how much storage capacity you aim to achieve, but if you have extra bays perhaps you could create a second pool to use as a backup for the first?
I’m guessing 5 or 6 VDEVs like mine would keep up with your Mellanox NIC.
I prefer RAID-Z3 for extra peace of mind if one has the bays available.
Also, you can save money by getting decommissioned drives in bulk. Make sure you get a few more than you need for spares too.
May I ask how many movies you plan to store on your PLEX server? I’m hosting about 360 movies on my Jellyfin server (mix of ripped DVDs and Blu-Rays) and only using about 5TB worth of MKV files.
I am not sure. I have 12 x 18 TB today in my Synology. Btrfs likes to have some 20% free, maybe a bit less. Not sure if this will also apply to ZFS.
In any case my current storage is essentially full. Thus I definitely need something along 200 TB preferably more.
Storage can be nice for seed pools too.