Need suggestions for Special VDEV SSD's (media pool)

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

GeeK

New Member
May 6, 2023
12
2
3
Hi,

I would like to have a recommendations for SSDs used as Truenas Special VDEV (metadata). The purpose would be to speed up manual browsing of data and speed up library scans of jellyfin etc.

The pool in question:
- 6-wide HDD Raidz2 or mirrored drives
- Media pool (CDs, DVDs, blurays and 4k blurays in 1:1 quality)
- The pool contains practically only audio and video files and their cover art and metadata information in .xml format.
- Mainly Write once, read forever type of data
- 3-way mirror planned for special vdev, so the same redundancy as Raidz2.

I have a 24-bay rack case and a xeon silver platform, so there are plenty of free hot swap or PCIE lanes to choose from. The build in question is "NAS only" and the rest of the homelab part is run on a separate hardware.

I've been thinking about using Supermicro AOC-SLG3-2M2-O (pcie -> 2x M.2 adapters). Alternatively, of course, I could use 2.5" SATA SSDs in the hot swap slots of the case. Is there a significant speed difference between these options?

What do you think, would consumer grade disks work in this application since the data is mostly static so TBW values are not that important? Of course, used enterprise disks are also a good option, as long as they are reasonably priced and available in the EU.

Even though the platform I'm using isn't the most energy efficient, I'd still like to minimize power consumption. I looked at some Intel U.2 drives and they were over 10 watts/drive, so just adding three SSDs would increase power consumption by 30 watts in this case.

What drives would you recommend for my use case?
 
Last edited:
3-way mirror planned for special vdev, so the same redundancy as Raidz2.
Good plan. There's no special requirement for the special vdev drives, as long as they are faster than the main data storage, so while NVMe would have more performance than SATA it's not obvious you'd see a difference in practice.

Mainly Write once, read forever type of data
For this, you could also consider a persistent metadata L2ARC drive. Not being critical, it could be a single drive.
 
  • Like
Reactions: GeeK
I'd go SATA SSD, go for some used enterprise drives. You don't need huge capacity for a special vdev, probably go for 1TB or 2TB drives. The one thing to keep in mind is that it's a one way decision. You will need to delete your pool if you want to switch to different kind of SSD or delete the vdev.
 
  • Like
Reactions: pimposh
I'd go SATA SSD, go for some used enterprise drives. You don't need huge capacity for a special vdev, probably go for 1TB or 2TB drives. The one thing to keep in mind is that it's a one way decision. You will need to delete your pool if you want to switch to different kind of SSD or delete the vdev.

I know that when using Raidz, adding a specific vdev cannot be undone. However, do you mean that I can't "upgrade" from SATA SSD -> M.2 NVME disks for example if I want to? I don't remember reading about such a limitation, does the system really care about the disk location/type if the migration is done by rebuilding one disk at a time? The same applies to the possible increase in disk size?

What discs do you use?
 
That I don't know. But for instance I use some nvme drives in mirror (Intel 750 and Intel P3600/P3700 with two special vdev). I had some problems with them with vanilla ubuntu, likely a race condition where the drives were randomly not available at the time the pool was being loaded during boot, resulting in a degraded pool. Fixed it by importing the pool with a delayed CRON job.

The upgrade I wanted to do was going from two special vdevs with those 4 drives to a single vdev with 2 bigger drives to free up some PCIe lanes, but that would require to wipe out the whole thing. I have no experience substituting SATA SSD with nvme within the same vdev.
 
does the system really care about the disk location/type if the migration is done by rebuilding one disk at a time?
ZFS doesn't care, so you could indeed move from a mirror of SATA drives to a mirror of NVMe drives by replacing drives—the only requirement being that the new NVMe are at least as large as the old SATA.
A metadata L2ARC is removable, and does not need to rewrite existing data to get populated.
 
  • Like
Reactions: pimposh
Ashift should be the same for a drive replace
(physical disk sectorsize)
 
Intel S3710 and Toshiba Hawk (Mixed-Use) are SATA drives that work well for me as metadata special VDEVs, being much faster than HDDs, and with solid firmware and therefore GC, and decent low-QD and small file performance. Watch your metadata device performance graphs and you realize it only has to keep up with the spinners (and also realize it isn't used nearly as much as I would have thought.)