3 ms·
I should try and do something like this. I've got lots of media stored on several large spinning rust drives and combine them using mergerfs (a union filesystem
by ndsipa_pomu 1y ago
I should try and do something like this. I've got lots of media stored on several large spinning rust drives and combine them using mergerfs (a union filesystem). However, I think I'd need something that caches at the file level rather than block devices, as I've got separate filesystems on the different disks.
I got the idea of using mergerfs from this: https://perfectmediaserver.com/02-tech-stack/mergerfs/ https://perfectmediaserver.com/02-tech-stack/mergerfs/
- ThatPlayer 1y agoI use mergerfs too. I ended up with all the drives under mergerfs running on bcache with a single SSD as the cache. Mergerfs's documentations brings up ways to do tiered caching: https://trapexit.github.io/mergerfs/preview/usage_patterns/ https://trapexit.github.io/mergerfs/preview/usage_patterns/ . Though it doesn't really do a read cache. It only keeps the newest files on the SSDs. I hope bcachefs (not bcache) gets better. It supports combining multiple different slow drives like I do under mergerfs, and also a file level cache on SSDs. And even supports keeping metadata on the SSDs completely. Erasure coding isn't done yet either, so that's no replacement for SnapRAID.