From: f-lvm@media.mit.edu
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] lvm protected against crypt/luks
Date: Mon, 7 Mar 2016 15:29:20 -0500 (EST) [thread overview]
Message-ID: <20160307202920.1529D403BC@darkstar.media.mit.edu> (raw)
In-Reply-To: <56DDBAF8.8040105@yahoo.co.uk> (message from lejeczek on Mon, 7 Mar 2016 17:31:36 +0000)
> Date: Mon, 7 Mar 2016 17:31:36 +0000
> From: lejeczek <peljasz@yahoo.co.uk>
> hi there
> would you know if kernel/lvm protects PVs (or any other
> parts for that matter) from being encrypted?
Not that I've ever seen.
> Do I need to wipe block devices clean off any LVM traces in
> order to encrypt them?
No.
> BTW, LVs cannot be luks encrypted, can they?
Yes, they can. I do this routinely.
LVM is agnostic about what's inside any LV. They're just blocks.
I often build filesystems with either bare disk or RAID on the bottom,
with LVM on top of that, LUKS on top of that, and ext4fs (for example)
on top of that. By using LVM under LUKS, I can make a single FS that
spans multiple disks but is entirely encrypted with a single key.
prev parent reply other threads:[~2016-03-07 20:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-07 17:31 [linux-lvm] lvm protected against crypt/luks lejeczek
2016-03-07 20:03 ` John Stoffel
2016-03-08 11:12 ` Bryn M. Reeves
2016-03-08 14:02 ` [linux-lvm] [Bulk] " lejeczek
2016-03-08 14:14 ` Ondrej Kozina
2016-03-08 15:36 ` lejeczek
2016-03-08 16:09 ` Ondrej Kozina
2016-03-07 20:29 ` f-lvm [this message]
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=20160307202920.1529D403BC@darkstar.media.mit.edu \
--to=f-lvm@media.mit.edu \
--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).