logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

lvmpolld — LVM poll daemon

Description

       lvmpolld is polling daemon for LVM. The daemon receives requests for polling of already initialised oper‐
       ations  originating  in LVM2 command line tool.  The requests for polling originate in the lvconvert, pv‐move, lvchange or vgchange LVM2 commands.

       The purpose of lvmpolld is to reduce the number of spawned  background  processes  per  otherwise  unique
       polling  operation.  There should be only one. It also eliminates the possibility of unsolicited termina‐
       tion of background process by external factors.

       lvmpolld is used by LVM only if it is enabled in lvm.conf(5) by specifying the  global/use_lvmpolld  set‐
       ting.  If  this  is  not defined in the LVM configuration explicitly then default setting is used instead
       (see the output of lvmconfig--typedefaultglobal/use_lvmpolld command).

Environment Variables

LVM_LVMPOLLD_PIDFILE
              Path for the pid file.

       LVM_LVMPOLLD_SOCKET
              Path for the socket file.

Name

       lvmpolld — LVM poll daemon

Options

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

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

       -h|--help
              Show help information.

       -l|--logall|wire|debug
              Select  the  type of log messages to generate.  Messages are logged by syslog.  Additionally, when
              -f is given they are also sent to standard error.  There are two classes of messages: wire and de‐
              bug.  Selecting 'all' supplies both and is equivalent to a comma-separated list -lwire,debug.

       -p|--pidfilepidfile_path
              Path to the pidfile. This overrides both the built-in default (/run/lvmpolld.pid) and the environ‐
              ment variable LVM_LVMPOLLD_PIDFILE.  This file is used to prevent more than one  instance  of  the
              daemon running simultaneously.

       -s|--socketsocket_path
              Path  to  the socket file. This overrides both the built-in default (/run/lvm/lvmpolld.socket) and
              the environment variable LVM_LVMPOLLD_SOCKET.

       -t|--timeouttimeout_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.

       -B|--binarylvm_binary_path
              Optional path to alternative LVM binary (default: /usr/bin/lvm).  Use for testing purposes only.

       -V|--version
              Display the version of lvmpolld daemon.

       --dump Contact the running lvmpolld daemon to obtain the complete state and print it out in a raw format.

See Also

lvm(8), lvm.conf(5)

Red Hat Inc                             LVM TOOLS 2.03.31(2) (2025-02-27)                            LVMPOLLD(8)

Synopsis

lvmpolld [-l|--logall|wire|debug] [-p|--pidfilepidfile_path] [-s|--socketsocket_path] [-B|--binarylvm_binary_path] [-t|--timeouttimeout_value] [-f|--foreground] [-h|--help] [-V|--version]

       lvmpolld [--dump]

See Also