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 1MHwSC-0001a2-Lc for garchives@archives.gentoo.org; Sat, 20 Jun 2009 09:01:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23CFCE02A6; Sat, 20 Jun 2009 09:01:39 +0000 (UTC) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.10]) by pigeon.gentoo.org (Postfix) with ESMTP id C42E5E02A6 for ; Sat, 20 Jun 2009 09:01:38 +0000 (UTC) Received: from rohan.altum.de (p5DC80C4B.dip0.t-ipconnect.de [93.200.12.75]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MKt2u-1MHwSA0RI6-0005TL; Sat, 20 Jun 2009 11:01:38 +0200 Received: from localhost (localhost [127.0.0.1]) by rohan.altum.de (Postfix) with ESMTP id B562C700092 for ; Sat, 20 Jun 2009 11:01:37 +0200 (CEST) Received: from gondolin.localnet (gondolin.altum.de [192.168.1.4]) (Authenticated sender: heini) by rohan.altum.de (Postfix) with ESMTPSA id C12D870008B for ; Sat, 20 Jun 2009 11:01:35 +0200 (CEST) From: Dirk Heinrichs Organization: Privat To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] lvm problem -- is timing? Date: Sat, 20 Jun 2009 11:01:33 +0200 User-Agent: KMail/1.11.4 (Linux/2.6.30; KDE/4.2.4; i686; ; ) References: <200906200908.10610.dirk.heinrichs@online.de> <20090620133724.58b4e872@coercion> In-Reply-To: <20090620133724.58b4e872@coercion> 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; boundary="nextPart2481837.bvFbAy5cyk"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200906201101.34229.dirk.heinrichs@online.de> X-Provags-ID: V01U2FsdGVkX19LjpK7YhJjys0MqbsAfyBshrInc5fdAtNLoSC sI1Xb6HW1SGlXIVKbt4Uyi9lBlSgDspO5bCb14bjrSiURvqsnB IsCL8rw8XWQWPArg6fqAw== X-Archives-Salt: a7dcd100-021d-408d-93df-0be58e323ebc X-Archives-Hash: 5be9cf677eb3fe53a0bceaef73557d3b --nextPart2481837.bvFbAy5cyk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Samstag 20 Juni 2009 09:37:24 schrieb Mike Kazantsev: > 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 boot > > runlevel: > > So LVM would start before dmcrypt? Great. Yes. > > > It makes sense for me, since some lvm pv's (not root) are actually on > > > encrypted partitions, although I mount these even earlier, but should > > > initrd become incompatible w/ latest kernel, dm-crypt should do the j= ob > > > instead. > > > > No, it does not make sense. You don't even need an initrd. > > I do, but mainly for other purposes. Which? > 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. > Can linux boot from lvm root w/o initrd these days? Yes, it always could. As long as /boot is a separate partition one can put = the=20 same stuff into it. Much simpler to setup. Bye... Dirk --nextPart2481837.bvFbAy5cyk Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iD8DBQBKPKVu8NVtnsLkZ7sRAv4LAJ0Tzwf6KryMnCOWNK0dZL4DXFRFggCgsRXk cXg4f4Hpb6MLYHk6MR61cgw= =sCNQ -----END PGP SIGNATURE----- --nextPart2481837.bvFbAy5cyk--