
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 09/12/2019 09.01, Per Jessen wrote:
Carlos E. R. wrote:
On 05/12/2019 18.49, Per Jessen wrote:
...
Treat it like a normal harddrive, yes. I have also been a laggard when it comes to switching - I use SSD mostly as cache devices in our storage servers, which has prolonged their usefulness no end. They are old and in dire need of upgrading were it not for SSD caching.
How do you do that? A year ago I searched for that, found two projects, one was abandoned, the other was way too complicated. What do you use?
There are essentially two ways - with "bcache" or with "lvmcache". There may be others, those are the two I am aware of. For the storage servers I use lvmcache.
I assume that one is tied to using lvm, and I never use it, so that's why I did not consider it.
Makes sense.
About bcache, I have this in my notes:
Linux: bcache. http://en.wikipedia.org/wiki/Bcache
«The design of dm-cache requires three physical storage devices (containing actual data, cache data and metadata) for the creation of one hybrid volume. Cache policies, in the form of separate modules, determine the way caching is actually performed.»
This paragraph is missing now in the wikipedia, but it caused me not trying and considering it difficult. Three devices!
Maybe it is now easier. Unfortunately, my SSD is now committed to being "/", so it's too late.
You'll probably also want to consider if you have any need. Back when projects like bcache started, I think you got some impressive speed-ups, but these days on a desktop system on SSD, there is nothing gained. -- Per Jessen, Zürich (6.6°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org