From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 336821382E6 for ; Sat, 5 Jan 2013 18:28:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 145CE21C04D; Sat, 5 Jan 2013 18:28:04 +0000 (UTC) Received: from mail-ia0-f169.google.com (mail-ia0-f169.google.com [209.85.210.169]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9416221C04D for ; Sat, 5 Jan 2013 18:26:51 +0000 (UTC) Received: by mail-ia0-f169.google.com with SMTP id u20so8297247iag.14 for ; Sat, 05 Jan 2013 10:26:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=M81e+9lkqqYSxbnFgXNpuf+px9liEar+O7HNkHED0Ao=; b=YXE6J2qhFGOpaM4mpSXH1BFCAWKXXJr77xgs0f8pCmfzzWcv57MmyRVUuviMmEP4iG VXdYDxMpZ/jU14EhjShqR17SqHfNBpVcTMh5iAcRG0fsla+VnT0JZJ3mxGIxXFswJBAF ka0C980qDxHJNo/RdA6e83lCMLKw5xG9fT3iqF4ZuSQNiGb/qnjdDwg/MDybaak6SUPj ARq0gOKP9jc8fVKH/GIGIKpnmdEYdb3cHDwXAzovHJe3NqD28MH0Bj36R9N/IB/9n8Lp glDa341Ukh0NV51ULgCpZQ7SdXprAWaiwq6ZwdlLX9KuWh9k3TtS/Vjn6BIvrv4weKiw 7TGw== 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 Received: by 10.50.187.197 with SMTP id fu5mr1872907igc.95.1357410410901; Sat, 05 Jan 2013 10:26:50 -0800 (PST) Received: by 10.64.32.195 with HTTP; Sat, 5 Jan 2013 10:26:50 -0800 (PST) In-Reply-To: <201301052036.04524.robin.atwood@attglobal.net> References: <201301042311.56043.robin.atwood@attglobal.net> <201301052036.04524.robin.atwood@attglobal.net> Date: Sat, 5 Jan 2013 12:26:50 -0600 Message-ID: Subject: Re: [gentoo-user] Systemd and lvm From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 46604c68-ef36-414b-a80d-0c75f0fde6cb X-Archives-Hash: 1a942e0b6fdc46958198d8dc139773f1 On Sat, Jan 5, 2013 at 7:36 AM, Robin Atwood w= rote: > On Friday 04 Jan 2013, Canek Pel=C3=A1ez Vald=C3=A9s wrote: >> On Fri, Jan 4, 2013 at 10:11 AM, Robin Atwood >> >> wrote: >> > Having observed all the ranting, I thought I would try systemd on a >> > laptop. It actually seems to work quite well and it is a lot faster. >> > However I am having trouble getting my LVM partitions mounted. I >> > installed the LVM service unit from the Gentoo Wiki but it never >> > completes, timing-out on a job that mounts /var. The VG is actually >> > created by an initramfs and when systemd dumps you out to the emergenc= y >> > shell you can use lvs to see the volumes, /dev/mapper has all the >> > correct devices and "dmsetup ls" shows the LVs. In fact, everything >> > appears as it should, the partitions just don't get mounted. I >> > circumvented this by putting "mount -a" in the lvm.service unit, which >> > then completes and the mount jobs time-out. Everything seems to be OK >> > but it is a bit of a kludge. One thing I notice is: >> > >> > >> > >> > # udevadm info -p /dev/mapper/vg00-rootfs -q all >> > >> > syspath not found >> > >> > >> > >> > Udev seems not to know about the LVs. Any ideas? >> >> How did you create your initramfs? Have you tried dracut, with >> DRACUT_MODULES=3D"lvm"? >> >> Regards. > > I always use genkernel with LVM=3DYES in genkernel.conf. There is a threa= d about > the udev issue at http://forums.gentoo.org/viewtopic-p-6837888.html . I t= ried > the suggested work-around but it made no difference, I must still use "mo= unt - > a". I've never used genkernel. You could try dracut; its mandatory dependencies are minimal, and it's actually designed to create an initramfs, not like genkernel, where the functionality was added as an afterthought. Another option is to roll your own initramfs, like the first responder in the forums thread. Good luck. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n Universidad Nacional Aut=C3=B3noma de M=C3=A9xico