From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0F0571384B4 for ; Wed, 11 Nov 2015 18:19:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 676E121C0E6; Wed, 11 Nov 2015 18:19:20 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id 2CC0721C0E0 for ; Wed, 11 Nov 2015 18:19:19 +0000 (UTC) Received: from digimed.co.uk (fenchurch.digimed.co.uk [192.168.1.6]) by mail.digimed.co.uk (Postfix) with ESMTPA id 09A7C1EB1C9 for ; Wed, 11 Nov 2015 18:19:18 +0000 (GMT) Date: Wed, 11 Nov 2015 18:19:12 +0000 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Fileserver with Raid + Crypto + BtrFS Message-ID: <20151111181912.071db258@digimed.co.uk> In-Reply-To: <56437653.2080603@ramses-pyramidenbau.de> References: <56437653.2080603@ramses-pyramidenbau.de> Organization: Digital Media Production X-Mailer: Claws Mail 3.13.0-45-gf2952c (GTK+ 2.24.28; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/BYz6hhyQ1SiGcYFPky=7/Mj"; protocol="application/pgp-signature" X-Archives-Salt: 57a83897-5169-4871-9a1b-34ed87d7905f X-Archives-Hash: a09bb499bf845acc786be79862c98daf --Sig_/BYz6hhyQ1SiGcYFPky=7/Mj Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 11 Nov 2015 18:09:39 +0100, Ralf wrote: > Btrfs supports Raid10 but no block-crypto. >=20 > If I would use a HD->MD Raid->Luks->Btrfs stack, I don't benefit from > the Raid implementation of Btrfs. Nor do you get the automatic repair of corruption that btrfs RAID offers. > If I would use a HD->Luks->Btrfs stack, then I would have to use four > different LUKS devices, which results in four individual encryptions > (and I don't have AES-NI, so this would be a tremendous slowdown). It would definitely be slower, but maybe not "tremendously". =20 > What would be the best way to have a Raid 10 together with a encrypted > Btrfs? What about crypto on top of btrfs using a stacked filesystem like ecryptfs? --=20 Neil Bothwick A good pun is its own reword. --Sig_/BYz6hhyQ1SiGcYFPky=7/Mj Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlZDhqAACgkQum4al0N1GQMl+ACeNMuqmZ9o5Ep6y6+BIpo1PxIV Q1kAn2ZDFcAT5UyNVyrH2yboLT6IerrU =cQiX -----END PGP SIGNATURE----- --Sig_/BYz6hhyQ1SiGcYFPky=7/Mj--