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 49E721382DD for ; Sat, 5 Jan 2013 13:37:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57047E0642; Sat, 5 Jan 2013 13:37:34 +0000 (UTC) Received: from kcout02.prserv.net (kcout02.prserv.net [12.154.55.32]) by pigeon.gentoo.org (Postfix) with ESMTP id A7862E0642 for ; Sat, 5 Jan 2013 13:36:13 +0000 (UTC) Received: from topaz.binro.org (node-whu.pool-125-24.dynamic.totbb.net[125.24.164.130]) by prserv.net (kcout02) with ESMTP id <2013010513361120200r5v8fe> (Authid: gbinet.atwoodr); Sat, 5 Jan 2013 13:36:12 +0000 X-Originating-IP: [125.24.164.130] Received: from topaz.binro.org (localhost [127.0.0.1]) by topaz.binro.org (8.14.4/8.14.4) with ESMTP id r05Da52e009192 for ; Sat, 5 Jan 2013 20:36:05 +0700 Received: (from robin@localhost) by topaz.binro.org (8.14.4/8.14.4/Submit) id r05Da4bX009191 for gentoo-user@lists.gentoo.org; Sat, 5 Jan 2013 20:36:04 +0700 X-Authentication-Warning: topaz.binro.org: robin set sender to robin.atwood@attglobal.net using -f From: Robin Atwood To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Systemd and lvm Date: Sat, 5 Jan 2013 20:36:04 +0700 User-Agent: KMail/1.13.7 (Linux/3.6.6-gentoo; KDE/4.9.4; x86_64; ; ) References: <201301042311.56043.robin.atwood@attglobal.net> In-Reply-To: X-Face: .c^^1Tm5bSr;@/t2T;-0HM`{~wj)F]2C]Zr#!Ig5fi&$LV1E^;5jL{]08F@tj{f3,U( =?utf-8?q?I=5B9=0A=09=3B7R4jB8A7=7Cmw7=7BK=5COYFzCL=5Fe/tAb?=)0_@07[e.}H`OE*na@ =?utf-8?q?7m=3DOp1=2Es0v3=5F3*=7C=3F=23l=7CXD=7Dn*=0A=09ARBV?=@IdaVd!V&bo;Z/TEb}oJi_(}3VOa^tj;$zlk96>K*hb> =?utf-8?q?PYbe6J=60=277qh=60=3Fm!!/k=5Dezl=0A=09=5FVIifMR=234kg*?="'n/S&^4@4: 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: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <201301052036.04524.robin.atwood@attglobal.net> X-Archives-Salt: 2d874d80-8973-4798-85f0-4a189902f187 X-Archives-Hash: 5b639e246fdd304b511aa3cda929b515 On Friday 04 Jan 2013, Canek Peláez Valdés 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 emergency > > 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="lvm"? > > Regards. I always use genkernel with LVM=YES in genkernel.conf. There is a thread about the udev issue at http://forums.gentoo.org/viewtopic-p-6837888.html . I tried the suggested work-around but it made no difference, I must still use "mount - a". -Robin -- ---------------------------------------------------------------------- Robin Atwood. "Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst" from "Mandalay" by Rudyard Kipling ----------------------------------------------------------------------