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

techsupport

2915 readers
8 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?

you are viewing a single comment's thread
view the rest of the comments
[–] SethranKada@lemmy.ca 3 points 6 days ago* (last edited 6 days 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 6 days 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 6 days 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.