lvmetad(8)


NAME

   lvmetad --- LVM metadata cache daemon

SYNOPSIS

   lvmetad  [-l  level[,level...]]  [-p pidfile_path] [-s socket_path] [-t
   timeout_value] [-f] [-h] [-V] [-?]

DESCRIPTION

   The lvmetad daemon caches LVM metadata so that LVM  commands  can  read
   metadata  from  the  cache  rather than scanning disks.  This can be an
   advantage because scanning disks is time consuming  and  may  interfere
   with the normal work of the system.  lvmetad can be a disadvantage when
   disk event notifications from the system are unreliable.

   lvmetad does not read metadata from disks itself.  Instead,  it  relies
   on an LVM command, like pvscan --cache, to read metadata from disks and
   send it to lvmetad to be cached.

   New LVM disks that appear on the system must be scanned before  lvmetad
   knows  about  them.   If  lvmetad  does not know about a disk, then LVM
   commands using lvmetad will also not know about  it.   When  disks  are
   added or removed from the system, lvmetad must be updated.

   lvmetad  is  usually  combined  with  event-based  system services that
   automatically run pvscan --cache on disks added or removed.  This  way,
   the  cache  is  automatically updated with metadata from new disks when
   they appear.  LVM  udev  rules  and  systemd  services  implement  this
   automation.   Automatic  scanning  is  usually  combined with automatic
   activation.  For more information, see pvscan(8).

   If lvmetad is started or restarted after disks have been added  to  the
   system, or if the global_filter has changed, the cache must be updated.
   This can be done  by  running  pvscan  --cache,  or  it  will  be  done
   automatically by the next LVM command that's run.

   When lvmetad is not used, LVM commands revert to scanning disks for LVM
   metadata.

   In some cases, lvmetad will be temporarily disabled while it  continues
   running.  In this state, LVM commands will ignore the lvmetad cache and
   revert to scanning  disks.   A  warning  will  also  be  printed  which
   includes  the  reason  why  lvmetad is not being used.  The most common
   reason is the existence of duplicate PVs (lvmetad cannot cache data for
   duplicate  PVs.)  Once duplicates have been resolved, the lvmetad cache
   is can be updated with pvscan --cache and commands will return to using
   the cache.

   Use of lvmetad is enabled/disabled by:
   lvm.conf(5) global/use_lvmetad

   For more information on this setting, see:
   lvmconfig --withcomments global/use_lvmetad

   To ignore disks from LVM at the system level, e.g. lvmetad, pvscan use:
   lvm.conf(5) devices/global_filter

   For more information on this setting, see
   lvmconfig --withcomments devices/global_filter

OPTIONS

   To  run  the daemon in a test environment both the pidfile_path and the
   socket_path should be changed from the defaults.

   -f     Don't fork, but run in the foreground.

   -h, -? Show help information.

   -l levels
          Specify the levels of  log  messages  to  generate  as  a  comma
          separated  list.   Messages are logged by syslog.  Additionally,
          when -f is given they are also sent to standard error.  Possible
          levels are: all, fatal, error, warn, info, wire, debug.

   -p pidfile_path
          Path  to  the  pidfile. This overrides both the built-in default
          (/run/lvmetad.pid)     and     the     environment      variable
          LVM_LVMETAD_PIDFILE.  This file is used to prevent more than one
          instance of the daemon running simultaneously.

   -s socket_path
          Path to the  socket  file.  This  overrides  both  the  built-in
          default  (/run/lvm/lvmetad.socket)  and the environment variable
          LVM_LVMETAD_SOCKET.  To communicate successfully  with  lvmetad,
          all LVM2 processes should use the same socket path.

   -t timeout_value
          The  daemon may shutdown after being idle for the given time (in
          seconds). When the option is omitted or the value given is  zero
          the daemon never shutdowns on idle.

   -V     Display the version of lvmetad daemon.

ENVIRONMENT VARIABLES

   LVM_LVMETAD_PIDFILE
          Path for the pid file.

   LVM_LVMETAD_SOCKET
          Path for the socket file.

SEE ALSO

   lvm(8), lvmconfig(8), lvm.conf(5), pvscan(8)





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.