Re: LVM cache/dm-cache questions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



well, I prefer to encrypt LV itself, and I'm trying the same what worked always with my "regular" LVs, yet - "cache pools LVs" fail to encrypt with: Command failed with code 22.



On 25/08/16 15:47, Xen wrote:
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.

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/



[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux