public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: covici@ccs.covici.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] what is lvmetad?
Date: Fri, 28 Feb 2014 15:33:07 -0500	[thread overview]
Message-ID: <12798.1393619587@ccs.covici.com> (raw)
In-Reply-To: <5310EF9A.8030604@gmail.com>

Alan McKinnon <alan.mckinnon@gmail.com> wrote:

> On 28/02/2014 21:47, covici@ccs.covici.com wrote:
> > Alan McKinnon <alan.mckinnon@gmail.com> 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

Maybe I will do that as the lvmetad is  started before devicemapper if I
remember correctly or somehow the dependencies are wrong.  I am not sure
why its a requirement, I don't scan new lvm volumes very often at all,
so its not saving any time, if that is why it exists.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com


      reply	other threads:[~2014-02-28 20:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-28 19:12 [gentoo-user] what is lvmetad? covici
2014-02-28 19:18 ` Alan McKinnon
2014-02-28 19:47   ` covici
2014-02-28 20:20     ` Alan McKinnon
2014-02-28 20:33       ` covici [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12798.1393619587@ccs.covici.com \
    --to=covici@ccs.covici.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox