this post was submitted on 08 Jul 2025
10 points (100.0% liked)
technology
23881 readers
270 users here now
On the road to fully automated luxury gay space communism.
Spreading Linux propaganda since 2020
- Ways to run Microsoft/Adobe and more on Linux
- The Ultimate FOSS Guide For Android
- Great libre software on Windows
- Hey you, the lib still using Chrome. Read this post!
Rules:
- 1. Obviously abide by the sitewide code of conduct. Bigotry will be met with an immediate ban
- 2. This community is about technology. Offtopic is permitted as long as it is kept in the comment sections
- 3. Although this is not /c/libre, FOSS related posting is tolerated, and even welcome in the case of effort posts
- 4. We believe technology should be liberating. As such, avoid promoting proprietary and/or bourgeois technology
- 5. Explanatory posts to correct the potential mistakes a comrade made in a post of their own are allowed, as long as they remain respectful
- 6. No crypto (Bitcoin, NFT, etc.) speculation, unless it is purely informative and not too cringe
- 7. Absolutely no tech bro shit. If you have a good opinion of Silicon Valley billionaires please manifest yourself so we can ban you.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I did this. High capacity hard disk (spinning) drives have gotten pretty cheap, and with the right filesystem, the NVMe can serve as a warm cache in front of the slower HDDs. I'm not sure how it works in practice, but Windows has a feature called "Storage Spaces" to do LVM-like things along these lines. The most sophisticated options are in Windows Server, but I believe it is also available in the higher teir desktop OSes. On Linux, you can use block layer systems like LVM or BCache, or special-purpose multi-disk filesystems like BCacheFS. Not sure if I'd recommend it (for project longevity reasons), but I went the BCacheFS route with 2TB of NVMe backed by 2x6TB HDDs.
It's definitely worth looking into a solution which merges the physical drives into a logical volume, whether at the block or filesystem level. Rather than just having separate fast and slow filesystems, you can have hot files automatically promoted to the SSD and cold files automatically demoted to the HDD. My setup gives me one single 12TB filesystem with most of the upsides of the NVMe storage. It also allows me to take individual devices out of the array for replacement if e.g. the NVMe wears, or a HDD starts making noise. And because it is implemented at the filesystem layer, things like replication can be configured at the directory level, instead of being all-or-nothing like a traditional RAID or LVM configuration which operate below the filesystem layer.
That’s cool!