From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t9bktE9ZBvQZ for ; Wed, 11 Sep 2013 20:13:14 +0200 (CEST) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Wed, 11 Sep 2013 20:13:13 +0200 (CEST) Received: from [192.168.1.210] ([92.225.108.206]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MWT8s-1VQzeV1Yvi-00XZjv for ; Wed, 11 Sep 2013 20:13:13 +0200 Message-ID: <5230B2B8.9060604@gmx.de> Date: Wed, 11 Sep 2013 20:13:12 +0200 From: ax487 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [dm-crypt] Encrypted Btrfs RAID1 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "dm-crypt@saout.de" 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