# lvmpolld - LVM poll daemon - man(8) - [phpMan]

[_LVMPOLLD_(8)](https://www.chedong.com/phpMan.php/man/LVMPOLLD/8/markdown)                            System Manager's Manual                           [_LVMPOLLD_(8)](https://www.chedong.com/phpMan.php/man/LVMPOLLD/8/markdown)

## NAME
       lvmpolld — LVM poll daemon

## SYNOPSIS
       **lvmpolld **[**-l**|**--log all**|**wire**|**debug**] [**-p**|**--pidfile _**pidfile_path_] [**-s**|**--socket _**socket_path_]
       [**-B**|**--binary _**lvm_binary_path_] [**-t**|**--timeout _**timeout_value_] [**-f**|**--foreground**] [**-h**|**--help**]
       [**-V**|**--version**]

       **lvmpolld **[**--dump**]

## DESCRIPTION
       lvmpolld  is polling daemon for LVM. The daemon receives requests for polling of already ini‐
       tialised operations originating in LVM2 command line tool.  The requests for  polling  origi‐
       nate in the **lvconvert**, **pvmove**, **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 un‐
       solicited termination of background process by external factors.

       lvmpolld  is  used  by  LVM  only  if  it  is  enabled in [**lvm.conf**(5)](https://www.chedong.com/phpMan.php/man/lvm.conf/5/markdown) by specifying the **glob‐**
       **al/use_lvmpolld **setting. If this is not defined in the LVM configuration explicitly then  de‐
       fault setting is used instead (see the output of **lvmconfig --type default global/use_lvmpolld**
       command).

## 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 --log all
              Select the type of log messages to generate.  Messages are logged  by  syslog.   Addi‐
              tionally, when **-f **is given they are also sent to standard error.  There are two class‐
              es  of  messages: wire and debug. Selecting '**all**' supplies both and is equivalent to a
              comma-separated list **-l wire,debug**.

### -p --pidfile _
              Path to the pidfile. This overrides both the built-in default (_/run/lvmpolld.pid_)  and
              the environment variable **LVM_LVMPOLLD_PIDFILE**.  This file is used to prevent more than
              one instance of the daemon running simultaneously.

### -s --socket _
              Path  to  the  socket  file.  This  overrides both the built-in default (_/run/lvm/lvm‐_
              _polld.socket_) and the environment variable **LVM_LVMPOLLD_SOCKET**.

### -t --timeout _
              The daemon may shutdown after being idle for the given time (in seconds). When the op‐
              tion is omitted or the value given is zero the daemon never shutdowns on idle.

### -B --binary _
              Optional path to alternative LVM binary (default: _/usr/bin/lvm_). Use for testing  pur‐
              poses 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.

## ENVIRONMENT VARIABLES
       **LVM_LVMPOLLD_PIDFILE**
              Path for the pid file.

       **LVM_LVMPOLLD_SOCKET**
              Path for the socket file.

## SEE ALSO
       [**lvm**(8)](https://www.chedong.com/phpMan.php/man/lvm/8/markdown), [**lvm.conf**(5)](https://www.chedong.com/phpMan.php/man/lvm.conf/5/markdown)

Red Hat Inc                       LVM TOOLS [2.03.16(2)](https://www.chedong.com/phpMan.php/man/2.03.16/2/markdown) (2022-05-18)                      [_LVMPOLLD_(8)](https://www.chedong.com/phpMan.php/man/LVMPOLLD/8/markdown)
