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 AA2E41382B3 for ; Fri, 4 Jan 2013 16:29:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A82E021C09B; Fri, 4 Jan 2013 16:29:26 +0000 (UTC) Received: from mail-ia0-f177.google.com (mail-ia0-f177.google.com [209.85.210.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 59D5BE055B for ; Fri, 4 Jan 2013 16:28:19 +0000 (UTC) Received: by mail-ia0-f177.google.com with SMTP id u21so13515332ial.8 for ; Fri, 04 Jan 2013 08:28:18 -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=EAyyv92cDKJrvzinuSo65M5vkXv/qfuRCRK0V9hZJ5Y=; b=e95ncDvPWC1V5P+1aRqMwh2+Wm0cZGqhXhQv3xqUIyZMTKMNLodc/CEccvDzgFqRRm q6xsX91lNycq6lGaywhM+hN9vs+yvO8YebBd9gRGw1iNCHdOfLEOzuTB9Vk5DRia8FN1 8xUUlRj81VGm5BhNVPMsDzyysxc6vUrWqmXNFCqfdHL5l2xGleT/UbDWqGt/zaxRl2oE 32rHAYL+DnkrCcZ9NqhbWHEE9TA/9/3AB32coadW5rlB6tP2VV0GhhKkA5XDvJINA5RB 4JkUqVSS3TT9oZZZ/B33lOE4KoNd1MWl5/YzmZonFKSlCKxmFY5i5htLA4E698PY/iRj vFKA== 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.190.199 with SMTP id gs7mr36480064igc.89.1357316898597; Fri, 04 Jan 2013 08:28:18 -0800 (PST) Received: by 10.64.32.195 with HTTP; Fri, 4 Jan 2013 08:28:18 -0800 (PST) In-Reply-To: <201301042311.56043.robin.atwood@attglobal.net> References: <201301042311.56043.robin.atwood@attglobal.net> Date: Fri, 4 Jan 2013 10:28:18 -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: 868f819b-036e-429e-bc1e-19f40fb5d158 X-Archives-Hash: 75b28d9d57bfdea29610ed40256d9b05 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 lapto= p. > 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 emergency shell you can use lvs to see the > volumes, /dev/mapper has all the correct devices and "dmsetup ls" shows t= he > 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 uni= t, > 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. --=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