Re: swap on lvm cache

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

 



On 27.4.2016 00:35, Xen wrote:
Just a weird question here.

Since swap should ordinarily be encrypted if you encrypt any part of your data
at all, I have opted at this point to either put it inside a volume that might
end up getting cached, or to disable that cache and put the swap in its place.

What I am saying is that in my current scheme there is going to be a small
cache drive and one part of the cache drive is going to serve unencrypted data
and the other part is going to serve encrypted data.

Supposing that, the swap would be in the encrypted part. But using cache
(lvmcache) on swap is completely ludicrous right?

Hi

Yes, it would be seriously bad idea to use 'swap' on cached LV...

There are already unsolved issues with plain devices and swapping :)
and you want to put caching logic into this stack.

Alternatively you could put the swap on the SSD (in this case) and not have
any cache for the other part of the drive. What do you think? It makes no
sense and it makes no difference, right.

Regards

Zdenek


_______________________________________________
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