this post was submitted on 27 Jul 2025
6 points (100.0% liked)

techsupport

2912 readers
6 users here now

The Lemmy community will help you with your tech problems and questions about anything here. Do not be shy, we will try to help you.

If something works or if you find a solution to your problem let us know it will be greatly apreciated.

Rules: instance rules + stay on topic

Partnered communities:

You Should Know

Reddit

Software gore

Recommendations

founded 2 years ago
MODERATORS
 

I recently purchased a new NAS / Server and while I'm waiting for it to arrive I'm planning out my storage and RAID configurations.

I'ce mostly decided on using 5 20TB or 24TB drives in RAID z2 as my primary storage pool. I'll just use a 500GB nvme as a read cache. But I still have a gen 4 by 4 nvme slot available, and I'm considering buying a stupidly large nvme drive to put in it.

Problem is, I want some fault tolerance, so I'm wondering if I can just make a virtual drive in my primary pool and use a RAID mirror between the nvme and the virtual drive to make my secondary pool.

Would this work? Or would the performance overhead and instibility make this a fool's errand?

top 5 comments
sorted by: hot top controversial new old
[–] actionjbone@sh.itjust.works 2 points 1 day ago

That wouldn't add fault tolerance. In fact, it would increase the likelihood of failure - because you'd be putting more stress on the physical drive.

[–] just_another_person@lemmy.world 2 points 1 day ago (1 children)

It won't work with RAID because you need drives of the same general size, but you could make a mirror of the NVME onto the other drives I suppose. I don't see any benefit to this though. It kinda sounds like you're creating a solution to a problem that doesn't exist here. You also probably won't see any performance benefit to using the 500GB as a read cache for a number of reasons, so maybe consider if you absolutely and desperately REALLY wanna use those two slots, just buy two drives and make a volume out them. Simplifies your setup quite a bit.

[–] SethranKada@lemmy.ca 3 points 1 day ago* (last edited 1 day ago) (1 children)

Could you elaborate on why the read cache won't work? I'm aware of the high RAM requirement, and plan to allocate 40GB to the L2ARC. Or is there some other bottleneck I'm not aware of?

These things are expensive, so I'd appreciate any info.

My thought process for the mirroring is that in the event the nvme fails, the pool will remain accessible, just extremely slow in comparison to previously, and it'll be easier for me to replace than if I just made regular backups to the primary storage pool.

[–] just_another_person@lemmy.world 3 points 1 day ago (1 children)

I won't write a novel, but using L2ARC for anything is pretty pointless unless you're doing constant reads on multiple large objects at once, and you're consistently transferring them. More memory is always the first thing that will improve performance, partially because it's just faster, but also because the filesystem you're going to be running on (especially ZFS) already does its own caching, which is faster/better.

If this is just a home setup, and not something serving a database or video editing workspace, you won't get any real benefit from dedicating an entire SSD to just caching.

[–] SethranKada@lemmy.ca 3 points 1 day ago

Thanks for the info! I didn't realize that ZFS already does caching. I guess I'll use those two nvme slots for two identical drives for my secondary pool then.