From: Zdenek Kabelac <zkabelac@redhat.com>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] swap on lvm cache
Date: Wed, 27 Apr 2016 10:38:44 +0200 [thread overview]
Message-ID: <57207A94.5040004@redhat.com> (raw)
In-Reply-To: <1878ee4357f761c330210f82e80ead3d@dds.nl>
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
next prev parent reply other threads:[~2016-04-27 8:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-26 22:35 [linux-lvm] swap on lvm cache Xen
2016-04-27 8:38 ` Zdenek Kabelac [this message]
2016-04-27 10:32 ` Xen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57207A94.5040004@redhat.com \
--to=zkabelac@redhat.com \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).