Questions tagged [dm-cache]

dm-cache is a generic block-level cache utility based on Linux device mapper framework.

5 questions
23
votes
2 answers

What are the advantages/disadvantages of different SSD to HDD cacheing options (dm-cache, flashcashe...)?

There appear to be various different technologies available to use an SSD to act as a cache for HHDs. The ones I know of: dm-cache (by Redhat - in the 3.9 Kernel, so it should be in ubuntu 13.10) Flashcache (developed and used by facebook) Bcache…
Uli
  • 5,196
11
votes
2 answers

How to install Ubuntu with both disk encryption AND SSD caching

I'm using Ubuntu in a corporate environment, and our security policy states that we have to use full disk encryption. I've also got a laptop with a 32GB mSATA SSD and 750GB of spinning rust. My current installation uses bcache to leverage this,…
Adrian
  • 5,256
3
votes
1 answer

How to add an SSD cache to an encrypted HDD for desktop/GUI use?

SSHDs seem to be stuck at 4TB and 8GB SSD cache (one model is available with 1TB/32GB) while bigger SSDs are widely available and some solutions exist to to pair an HDD with an SSD in Linux. I'm looking for a solution that is easy to use on a…
LiveWireBT
  • 29,597
2
votes
1 answer

What happens in bcache if the cache ssd dies?

I'm creating a NAS and I've been doing a lot of research on the different SSD caches. I have a 120gb ssd which is more than enough for the OS so I want to use most of it as a cache for the md raid5 array. Before I commit to this setup I want to know…
cowmix
  • 71
0
votes
1 answer

Can I configure dm-cache to only cache small files?

We're deploying an Active Directory domain controller slash file server in a small NGO, using Ubuntu Server/Samba and a conventional HDD, due to budgetary concerns. I'm concerned about the dismal random 4K access rate of conventional spinning drives…