From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RVRdQ-0007K5-Rk for garchives@archives.gentoo.org; Tue, 29 Nov 2011 17:38:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92BED21C06D; Tue, 29 Nov 2011 17:38:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D4FCB21C0CC for ; Tue, 29 Nov 2011 17:36:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 610F41B403D for ; Tue, 29 Nov 2011 17:36:23 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -5.699 X-Spam-Level: X-Spam-Status: No, score=-5.699 tagged_above=-999 required=5.5 tests=[AWL=-1.200, BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.201] autolearn=ham Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AFzYUAwJyFwH for ; Tue, 29 Nov 2011 17:36:17 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 64C141B402B for ; Tue, 29 Nov 2011 17:36:15 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RVRbJ-0001kp-71 for gentoo-user@gentoo.org; Tue, 29 Nov 2011 18:36:13 +0100 Received: from cpe-76-183-217-112.tx.res.rr.com ([76.183.217.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Nov 2011 18:36:13 +0100 Received: from ftn768 by cpe-76-183-217-112.tx.res.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Nov 2011 18:36:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Jack Byer Subject: [gentoo-user] Re: dmraid, mdraid, lvm, btrfs, what? Date: Tue, 29 Nov 2011 11:35:57 -0600 Message-ID: References: <4ED484B5.4030700@binarywings.net> 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: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpe-76-183-217-112.tx.res.rr.com User-Agent: KNode/4.7.3 X-Archives-Salt: 560f2d53-45c6-4920-a4c5-15131a981e29 X-Archives-Hash: 5a592b577ca260d270fdb70e70b4fcea Florian Philipp wrote: > Another thing you can think of is whether you want encryption. I've done > this for my laptop. The usual setup would by md->lvm->crypt. I've done > it crypt->lvm (an LVM physical volume on top of an encrypted partition). > This way, I only need to enter the password once. You can enforce a > specific order between lvm, md and dmcrypt by putting stuff like this in > /etc/rc.conf: > rc_dmcrypt_before="lvm" > rc_dmcrypt_after="udev" I like to use whole disk encryption so I'll format each drive with LUKS and then use Dracut for an initramfs when I boot so that it takes care of setting up dmcrypt/lvm/md before OpenRC ever starts up.