All of lore.kernel.org
 help / color / mirror / Atom feed
From: ax487 <ax487@gmx.de>
To: "dm-crypt@saout.de" <dm-crypt@saout.de>
Subject: [dm-crypt] Encrypted Btrfs RAID1
Date: Wed, 11 Sep 2013 20:13:12 +0200	[thread overview]
Message-ID: <5230B2B8.9060604@gmx.de> (raw)

Hello all,

I have been using LUKS for quite some time now to encrypt block devices.
Up to now I have always used the setup RAID1 -> Encryption -> LVM2 ->
filesystems.
Now however I want to create an encrypted Btrfs RAID1. The problem is
that a RAID based on Btrfs is not based on block devices. What I would
need is to encrypt two different partitions and then use their decrypted
counterparts as basis for the RAID. The problem is that I really don't
want to add my pass phrase multiple times and I don't like key files. I
realize that the 'reuse key' problem is a long standing issue:

https://bbs.archlinux.org/viewtopic.php?id=117152
https://bugzilla.redhat.com/show_bug.cgi?id=446567
https://www.martineve.com/2012/11/02/luks-encrypting-multiple-partitions-on-debianubuntu-with-a-single-passphrase/

However I did not find a solution anywhere.
Could you tell me how to setup my system to make things work the way I
intend to?

Regards,
ax487

             reply	other threads:[~2013-09-11 18:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-11 18:13 ax487 [this message]
2013-09-11 18:24 ` [dm-crypt] Encrypted Btrfs RAID1 Arno Wagner
2013-09-11 20:39   ` ax487
2013-09-11 23:19     ` Arno Wagner

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=5230B2B8.9060604@gmx.de \
    --to=ax487@gmx.de \
    --cc=dm-crypt@saout.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.