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 1MHvBF-0007Uh-1J for garchives@archives.gentoo.org; Sat, 20 Jun 2009 07:40:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8968E026B; Sat, 20 Jun 2009 07:40:02 +0000 (UTC) Received: from mail-fx0-f209.google.com (mail-fx0-f209.google.com [209.85.220.209]) by pigeon.gentoo.org (Postfix) with ESMTP id 71B01E029D for ; Sat, 20 Jun 2009 07:40:02 +0000 (UTC) Received: by fxm5 with SMTP id 5so1951780fxm.34 for ; Sat, 20 Jun 2009 00:40:01 -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=THPscW11U3axpYK8snfWq386xbukBZpL3DJhE+meSAg=; b=tZXYVAw1diDDNHCRIo9giJ+hleLc386UeY7m6TSArJWGiSt8dLEXOLc8mrdHUp5w+Q 57TLgIxYgClBPDDAm1hwCBd0cwVgaUfyI1M9TI8WKFMlUuAhiXTwquP+DxMVVj9C3qdR pf+HOwEmvvWS67Z/8OxmnRrJKrPSOCZwh0ZUU= 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=q9TXfug9Wz2g3cov2P+ARwN3OERC0sIuaa/534n18ThZn49BnbVW6u2546X9awd6Wv KnxwgbWt6iRTu+2bsYYtIRxoHfMINvNlifK7J2aKERC00F7JewfU83SpedTOF2GwoX90 pkxT+23h/Rig0bXkCxZrcAdwQ6tRziQIKx/XY= Received: by 10.204.50.212 with SMTP id a20mr3471582bkg.35.1245483601787; Sat, 20 Jun 2009 00:40:01 -0700 (PDT) Received: from coercion ([91.191.238.58]) by mx.google.com with ESMTPS id 1sm7388123fks.11.2009.06.20.00.40.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 20 Jun 2009 00:40:01 -0700 (PDT) Date: Sat, 20 Jun 2009 13:37:24 +0600 From: Mike Kazantsev To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] lvm problem -- is timing? Message-ID: <20090620133724.58b4e872@coercion> In-Reply-To: <200906200908.10610.dirk.heinrichs@online.de> References: <20090620113338.7d78293c@coercion> <200906200908.10610.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_/xn89dfQz3olz/4hx6CdoA.b"; protocol="application/pgp-signature" X-Archives-Salt: c212014e-7022-4e6c-8643-b6e1a39d7e4f X-Archives-Hash: 27786c3a17d74d3872cf02b6d098c5b4 --Sig_/xn89dfQz3olz/4hx6CdoA.b Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 20 Jun 2009 09:08:05 +0200 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). >=20 > That's not needed, it should be sufficient to have them all in the boot=20 > runlevel: So LVM would start before dmcrypt? Great. > > 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 job > > instead. >=20 > No, it does not make sense. You don't even need an initrd. I do, but mainly for other purposes. 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? --=20 Mike Kazantsev // fraggod.net --Sig_/xn89dfQz3olz/4hx6CdoA.b Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEARECAAYFAko8kbgACgkQASbOZpzyXnEn/gCfRG4eq7chCfbpwEwRBXwwOjnT wPUAoKFvoQUGp9k9EXvHtuZSqphtyDrK =wfPl -----END PGP SIGNATURE----- --Sig_/xn89dfQz3olz/4hx6CdoA.b--