[linux-lvm] LVM cache/dm-cache questions.

Xen list at xenhideout.nl
Thu Aug 25 14:47:18 UTC 2016


lejeczek schreef op 25-08-2016 13:51:
> question I'd like to ask is: how to LUKS encrypt cache pool LV ?
> 
> many thanks.
> L.

In general without being any expert here you will need to encrypt the 
origin device (PV) on which it resides and likely also the PV of the 
cache pool itself. It's no different from any other volume you would 
use.

You can allow LUKS to pass-through discards if you open the volume with 
--allow-discards on the cryptsetup prompt (command).

In case you have an SSD underneath. It was said that the cache itself 
does not utilize discards just yet, but that it was in the planning.




More information about the linux-lvm mailing list