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 1MHzET-0000BU-HL for garchives@archives.gentoo.org; Sat, 20 Jun 2009 11:59:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26350E0391; Sat, 20 Jun 2009 11:59:34 +0000 (UTC) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by pigeon.gentoo.org (Postfix) with ESMTP id C7458E0391 for ; Sat, 20 Jun 2009 11:59:33 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 13so272115fge.14 for ; Sat, 20 Jun 2009 04:59:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=f62GlueI1/KKqu2+MZ0qONjRVrpkavIPdLtZTWPncC0=; b=ezSdScntYkePn9EyqYju3vTDx6u4GcojqTjpRRCjU/CLu8now77KJjn3iXeazyS3+E XetqNsaQCs2YfrE0UnrpV3USnO7gdxMeHuTydkbhB/TP2CWV0sqhEdN74saixdh5U+F8 ZG6SaWU+N/4aHWafsuQRoibIvjtibchQ52Es0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=uNU86Eihd/IQzCZY2oM0vIhruuvPulKGkL62pIy3Ci2abzjzexSp80c4rmDF/Yvb7r YYdTp66Zm1xpo/iu9MXYyxsp/2/UJatGIiSORG/IGW0FHzNF8ls12mqexDe/PASX+Et9 E0vmspptEckWMUut5CjThcHISLApafQYPLeRo= Received: by 10.86.27.6 with SMTP id a6mr4190165fga.18.1245499173242; Sat, 20 Jun 2009 04:59:33 -0700 (PDT) Received: from coercion ([91.191.238.58]) by mx.google.com with ESMTPS id e20sm1569411fga.25.2009.06.20.04.59.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 20 Jun 2009 04:59:32 -0700 (PDT) Date: Sat, 20 Jun 2009 17:56:51 +0600 From: Mike Kazantsev To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] lvm problem -- is timing? Message-ID: <20090620175651.1d8f8272@coercion> In-Reply-To: <200906201101.34229.dirk.heinrichs@online.de> References: <200906200908.10610.dirk.heinrichs@online.de> <20090620133724.58b4e872@coercion> <200906201101.34229.dirk.heinrichs@online.de> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.1; i686-pc-linux-gnu) 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_/27b_PiNc9plLNtymc.GT8Cd"; protocol="application/pgp-signature" X-Archives-Salt: 3b9a7ae4-629f-4573-9744-8a72df643401 X-Archives-Hash: 2ead4cf893aad989d37ce4f504f2b78e --Sig_/27b_PiNc9plLNtymc.GT8Cd Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 20 Jun 2009 11:01:33 +0200 Dirk Heinrichs wrote: > Am Samstag 20 Juni 2009 09:37:24 schrieb Mike Kazantsev: >=20 > > Dirk Heinrichs wrote: > > > > I believe there's "after device-mapper" line already in lvm-2.02.45= , so > > > > it should run fine, but as an additional precaution I have dm-crypt > > > > script at sysinit runlevel, which starts device-mapper and dm-crypt > > > > before lvm or even it's runlevel (boot). > > > > > > That's not needed, it should be sufficient to have them all in the bo= ot > > > runlevel: > > > > So LVM would start before dmcrypt? Great. >=20 > Yes. No, because encrypted partitions hold LVM volumes as well. > > > > It makes sense for me, since some lvm pv's (not root) are actually = on > > > > encrypted partitions, although I mount these even earlier, but shou= ld > > > > initrd become incompatible w/ latest kernel, dm-crypt should do the= job > > > > instead. > > > > > > No, it does not make sense. You don't even need an initrd. > > > > I do, but mainly for other purposes. >=20 > Which? Keeping my mini-distro there, which I use as instant-boot router w/o mounting anything. Why not keep it on /boot, separate partition or separate initrd? I do, each with a bit different setup and purpose. > > Mounting encrypted partitions from there is a bonus and while root is > > not encrypted (although it doesn't even holds most configuration > > from /etc) it is an LVM volume. >=20 > > Can linux boot from lvm root w/o initrd these days? >=20 > Yes, it always could. As long as /boot is a separate partition one can pu= t the=20 > same stuff into it. Much simpler to setup. Simplier to setup prehaps, but I find it simplier to keep my initrds contents in git branches w/ one-click build and deploy script, which I find simplier to maintain than ten different paths under /boot. But this goes completely offtopic. It's not like I seek suggestions for my setup, it works perfectly already. --=20 Mike Kazantsev // fraggod.net --Sig_/27b_PiNc9plLNtymc.GT8Cd Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEARECAAYFAko8zocACgkQASbOZpzyXnFlowCfV5l9p0GFzwHL8lQ87XxuPZrz YAIAoLZHbBzOFxa0e+Zh7unHhmvqoGln =jRzx -----END PGP SIGNATURE----- --Sig_/27b_PiNc9plLNtymc.GT8Cd--