From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.67) (envelope-from ) id 1ICyb4-0008BU-1W for garchives@archives.gentoo.org; Mon, 23 Jul 2007 14:09:14 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l6NE5nfh002540; Mon, 23 Jul 2007 14:05:49 GMT Received: from desiato.localdomain (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l6NE5mVQ002528 for ; Mon, 23 Jul 2007 14:05:48 GMT Received: from zaphod.digimed.co.uk (zaphod.digimed.co.uk [192.168.1.1]) by desiato.localdomain (Postfix) with ESMTP id A93B0137B27 for ; Mon, 23 Jul 2007 15:05:44 +0100 (BST) Date: Mon, 23 Jul 2007 15:05:41 +0100 From: Neil Bothwick To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] 2nd HDD for var, tmp, usr/portage, swap Message-ID: <20070723150541.16b86546@zaphod.digimed.co.uk> In-Reply-To: <46A4B2C8.8030302@thefreemanclan.net> References: <200707201641.30655.e0026053@student.tuwien.ac.at> <46A0F16E.3010602@thefreemanclan.net> <46A0F3AB.1000907@thefreemanclan.net> <20070720193521.2ae70d75@krikkit.digimed.co.uk> <46A10F0C.2050608@thefreemanclan.net> <20070720204900.0c2e42e7@krikkit.digimed.co.uk> <46A4B2C8.8030302@thefreemanclan.net> Organization: Digital Media Production X-Mailer: Claws Mail 2.10.0cvs53 (GTK+ 2.10.14; 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-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_rEz79zqay8PHYRUbZ8sOZb_; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: a8f0312a-94c9-4988-9240-1e3179e8199a X-Archives-Hash: a69fe3a11f83ad4edb9aef34a6b83985 --Sig_rEz79zqay8PHYRUbZ8sOZb_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 23 Jul 2007 09:53:12 -0400, Richard Freeman wrote: > > I keep my keys on an encrypted partition, /etc/conf.d/cryptfs prompts > > for the key for that partition at boot. Then the keys on that > > partition are used to set up swap and /home before the partition is > > unmounted, so the keys are only exposed for 2-3 seconds per boot. > I'd prefer to not require any passwords to boot the system - I'm running > a server and mythtv as well and if something goes down I'd rather it be > back up on its own without me at the console. Fair comment, I run this setup on a desktop and laptop. I do have an encrypted partition on a server, but it gets it's key over the network, and if the system will still work without that partition. I don't use encryption on my MythTV box because I don't record anything top secret ;-) > However, I did think of a potentially-elegant solution: >=20 > 1. Create a new volume group for each swap partition. > 2. Add the swap partitions to their volume groups. > 3. Create one logical volume on each volume group. > 4. Map the crytpo-loop devices to the LVM logical volumes. >=20 > Then if device names change the LVM logic will find them and sort it all > out. And there shouldn't be too much overhead running swap on top of > LVM - my issue was with running swap on LVM on RAID-5 - which is a lot > more overhead. That sounds a good plan, but why do you need multiple VGs? Why not put all the swap partitions in one VG then create one LV on each PV? --=20 Neil Bothwick Don't let your mind wander, it's too little to be let out alone. --Sig_rEz79zqay8PHYRUbZ8sOZb_ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.5 (GNU/Linux) iD8DBQFGpLW3um4al0N1GQMRAt8mAJ450LdF7JDaqUx7z7oC1gowulIinQCgshZh W9C/1CEayFDLRO5iAXUrFA8= =wv/h -----END PGP SIGNATURE----- --Sig_rEz79zqay8PHYRUbZ8sOZb_-- -- gentoo-amd64@gentoo.org mailing list