From: Xen <list@xenhideout.nl>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] LVM cache/dm-cache questions.
Date: Thu, 25 Aug 2016 16:47:18 +0200 [thread overview]
Message-ID: <a1a1c9d00457985bf312ddde42c3e5ab@dds.nl> (raw)
In-Reply-To: <3c8e6110-adbd-0bb5-e24e-655851edf340@yahoo.co.uk>
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.
next prev parent reply other threads:[~2016-08-25 14:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-12 0:36 [linux-lvm] LVM cache/dm-cache questions sergei
2016-06-20 16:27 ` Brassow Jonathan
2016-06-20 21:34 ` Sergei Franco
2016-08-25 11:51 ` lejeczek
2016-08-25 14:47 ` Xen [this message]
2016-08-26 12:45 ` lejeczek
2016-08-26 13:28 ` Xen
2016-08-26 14:01 ` lejeczek
2016-08-26 14:45 ` Ondrej Kozina
2016-08-29 9:42 ` lejeczek
2016-08-29 11:22 ` Ondrej Kozina
2016-08-29 14:22 ` lejeczek
2016-08-29 15:08 ` Ondrej Kozina
2016-08-30 8:39 ` lejeczek
2016-08-29 16:07 ` Xen
2016-08-26 17:55 ` 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=a1a1c9d00457985bf312ddde42c3e5ab@dds.nl \
--to=list@xenhideout.nl \
--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).