←back to thread

433 points ingve | 2 comments | | HN request time: 0.423s | source
Show context
sorenjan ◴[] No.44467571[source]
Is it possible (and easy) to make a NAS with harddrives for storage and an SSD for cache? I don't have any data that I use daily or even weekly, so I don't want the drives spinning needlessly 24/7, and I think an SSD cache would stop having to spin them up most of the time.

For instance, most reads from a media NAS will probably be biased towards both newly written files, and sequentially (next episode). This is a use case CPU cache usually deals with transparently when reading from RAM.

replies(3): >>44467578 #>>44467673 #>>44469239 #
1. op00to ◴[] No.44467578[source]
Yes. You can use dm-cache.
replies(1): >>44467624 #
2. sorenjan ◴[] No.44467624[source]
Thanks. I looked it up and it seems that lvmcache uses dm-cache and is easier to use, I guess putting that in front of some kind of RAID volume could be a good solution.