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 17842138F88 for ; Fri, 28 Feb 2014 20:21:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1190CE0899; Fri, 28 Feb 2014 20:21:04 +0000 (UTC) Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DB49EE07E8 for ; Fri, 28 Feb 2014 20:21:02 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id y10so970449wgg.25 for ; Fri, 28 Feb 2014 12:21:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=H51PK6AZ3Wh1zt5G0AhTuNOHmKWcDQQ8zAcbyCMZvaI=; b=E/YOiyVb+ZgRQh8osqlWHzkosklvk/w1r5PIPZOuZaG3uGNQB4MwU1tjMFsG2WbUcB VhnoAhjt5xXh8DrUUQPx7CmHlxTeXC5gbwOqMjcj2/MeLhevmwXrBBq8BmYPp32QuhpH i8MRSvfMwefNcZd0NUHL7/EpdPG4+gvS41ebBezHiefv081k/CZKLGyU8x4LyobFnm5L Wx+T2colUQsq7a+2XG1w8nScj8ucHaNuHgo35iB+Kr9LhIAUkPJDCCa+/YynWF9I0Wng Igu+h2QD88wpnPHmwZNdT0LYAkeDjmqjlEWRccM6S7pZQeM5KhROpmEgvl0eQzb1VCEF d5jA== X-Received: by 10.181.11.169 with SMTP id ej9mr5163656wid.18.1393618861553; Fri, 28 Feb 2014 12:21:01 -0800 (PST) Received: from [172.20.0.40] (196-210-127-208.dynamic.isadsl.co.za. [196.210.127.208]) by mx.google.com with ESMTPSA id d6sm7908649wiz.4.2014.02.28.12.20.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Feb 2014 12:21:00 -0800 (PST) Message-ID: <5310EF9A.8030604@gmail.com> Date: Fri, 28 Feb 2014 22:20:42 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] what is lvmetad? References: <1507.1393614724@ccs.covici.com> <5310E11A.8000401@gmail.com> <6565.1393616829@ccs.covici.com> In-Reply-To: <6565.1393616829@ccs.covici.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 1d34a18d-c28d-4767-bb4e-79793ed70d1e X-Archives-Hash: d134d27bc5867dd8ec73eb82c39d4af7 On 28/02/2014 21:47, covici@ccs.covici.com wrote: > Alan McKinnon wrote: > >> On 28/02/2014 21:12, covici@ccs.covici.com wrote: >>> In the newest lvm, there is something called lvmetad, but it won't >>> start because /run/lvm is missing. When I created by hand, it then >>> started, but when I then started lvm which would not start without >>> lvmetad, it said lvmetad was started, but disabled. >>> >>> Can anyone tell me what is going on here? >>> >>> Thanks. >>> >> >> the ebuild issues an elog: >> >> * Make sure the "lvm" init script is in the runlevels: >> * # rc-update add lvm boot >> * >> * Make sure to enable lvmetad in /etc/lvm/lvm.conf if you want >> * to enable lvm autoactivation and metadata caching. >> >> >> Did you notice it and follow it? > > I did not ignore, but I could not find where use_lvmetad was and up till > now it never made any difference, but I see where it is. but lvmetad > would not start at all till I manually created /run/lvm. > > /run is a tmpfs, so something must mkdir it as startup time. I reckon that is device-mapper: $ grep /run/lvm * device-mapper: checkpath -q -d -m 0700 -o root:root /run/lvm /run/lock/lvm lvmetad:pidfile="/var/run/lvmetad.pid" Do you have device-mapper configured to run? I must admit I see oddities sometimes on my lvm-enabled hosts where the /var/run -> /run symlinks are missing. I think you should file a bug, either the code is wrong or the docs/elogs are insufficient here -- Alan McKinnon alan.mckinnon@gmail.com