2015-05-14 19:43:50 +03:00
.TH LVMPOLLD 8 "LVM TOOLS #VERSION#" "Red Hat Inc" \" -*- nroff -*-
2021-04-13 16:26:54 +03:00
.
2015-05-09 02:59:18 +03:00
.SH NAME
2021-04-13 16:26:54 +03:00
.
2015-05-09 02:59:18 +03:00
lvmpolld \(em LVM poll daemon
2021-04-13 16:26:54 +03:00
.
2015-05-09 02:59:18 +03:00
.SH SYNOPSIS
2021-04-13 16:26:54 +03:00
.
2015-05-09 02:59:18 +03:00
.B lvmpolld
2021-04-13 16:26:54 +03:00
.nh
.ad l
2017-03-27 17:45:48 +03:00
.RB [ -l | --log
2021-04-13 16:26:54 +03:00
.BR all | wire | debug ]
2017-03-27 17:45:48 +03:00
.RB [ -p | --pidfile
2015-05-09 02:59:18 +03:00
.IR pidfile_path ]
2017-03-27 17:45:48 +03:00
.RB [ -s | --socket
2015-05-09 02:59:18 +03:00
.IR socket_path ]
2017-03-27 17:45:48 +03:00
.RB [ -B | --binary
2015-05-09 02:59:18 +03:00
.IR lvm_binary_path ]
2017-03-27 17:45:48 +03:00
.RB [ -t | --timeout
2015-05-09 02:59:18 +03:00
.IR timeout_value ]
2017-03-27 17:45:48 +03:00
.RB [ -f | --foreground ]
.RB [ -h | --help ]
.RB [ -V | --version ]
2021-04-13 16:26:54 +03:00
.ad b
.hy
.P
2015-05-14 20:33:27 +03:00
.B lvmpolld
2017-03-27 17:45:48 +03:00
.RB [ --dump ]
2021-04-13 16:26:54 +03:00
.
2015-05-09 02:59:18 +03:00
.SH DESCRIPTION
2021-04-13 16:26:54 +03:00
.
2015-05-09 02:59:18 +03:00
lvmpolld is polling daemon for LVM. The daemon receives requests for polling
of already initialised operations originating in LVM2 command line tool.
2015-05-14 20:33:27 +03:00
The requests for polling originate in the \fBlvconvert\fP, \fBpvmove\fP,
\fBlvchange\fP or \fBvgchange\fP LVM2 commands.
2021-04-13 16:26:54 +03:00
.P
2015-05-09 02:59:18 +03:00
The purpose of lvmpolld is to reduce the number of spawned background processes
2015-05-14 20:33:27 +03:00
per otherwise unique polling operation. There should be only one. It also
eliminates the possibility of unsolicited termination of background process by
external factors.
2021-04-13 16:26:54 +03:00
.P
2015-05-14 20:33:27 +03:00
lvmpolld is used by LVM only if it is enabled in \fBlvm.conf\fP(5) by
specifying the \fBglobal/use_lvmpolld\fP setting. If this is not defined in the
LVM configuration explicitly then default setting is used instead (see the
2017-03-27 17:45:48 +03:00
output of \fBlvmconfig --type default global/use_lvmpolld\fP command).
2021-04-13 16:26:54 +03:00
.
2015-05-09 02:59:18 +03:00
.SH OPTIONS
2021-04-13 16:26:54 +03:00
.
2015-05-09 02:59:18 +03:00
To run the daemon in a test environment both the pidfile_path and the
socket_path should be changed from the defaults.
2021-04-13 16:26:54 +03:00
.
2015-05-09 02:59:18 +03:00
.TP
2021-04-13 16:26:54 +03:00
.BR -f | --foreground
2015-05-09 02:59:18 +03:00
Don't fork, but run in the foreground.
.TP
2021-04-13 16:26:54 +03:00
.BR -h | --help
2015-05-09 02:59:18 +03:00
Show help information.
2021-04-13 16:26:54 +03:00
.
2015-05-09 02:59:18 +03:00
.TP
2021-04-13 16:26:54 +03:00
.BR -l | --log " " all | wire | debug
2015-05-09 02:59:18 +03:00
Select the type of log messages to generate.
Messages are logged by syslog.
2021-04-13 16:26:54 +03:00
Additionally, when \fB-f\fP is given they are also sent to standard error.
There are two classes of messages: wire and debug. Selecting '\fBall\fP' supplies both
and is equivalent to a comma-separated list \fB-l wire,debug\fP.
.
2015-05-09 02:59:18 +03:00
.TP
2021-04-13 16:26:54 +03:00
.BR -p | --pidfile " " \fIpidfile_path
2017-03-27 17:45:48 +03:00
Path to the pidfile. This overrides both the built-in default
2021-04-15 14:16:41 +03:00
(\fI#DEFAULT_PID_DIR#/lvmpolld.pid\fP) and the environment variable
2015-05-09 02:59:18 +03:00
\fBLVM_LVMPOLLD_PIDFILE\fP. This file is used to prevent more
than one instance of the daemon running simultaneously.
2021-04-13 16:26:54 +03:00
.
2015-05-09 02:59:18 +03:00
.TP
2021-04-13 16:26:54 +03:00
.BR -s | --socket " " \fIsocket_path
2017-03-27 17:45:48 +03:00
Path to the socket file. This overrides both the built-in default
2021-04-15 14:16:41 +03:00
(\fI#DEFAULT_RUN_DIR#/lvmpolld.socket\fP) and the environment variable
2015-05-09 02:59:18 +03:00
\fBLVM_LVMPOLLD_SOCKET\fP.
2021-04-13 16:26:54 +03:00
.
2015-05-09 02:59:18 +03:00
.TP
2021-04-13 16:26:54 +03:00
.BR -t | --timeout " " \fItimeout_value
2015-05-12 11:20:39 +03:00
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.
2021-04-13 16:26:54 +03:00
.
2015-05-09 02:59:18 +03:00
.TP
2021-04-13 16:26:54 +03:00
.BR -B | --binary " " \fIlvm_binary_path
2021-04-15 14:16:41 +03:00
Optional path to alternative LVM binary (default: \fI#LVM_PATH#\fP). Use for
2015-05-09 02:59:18 +03:00
testing purposes only.
2021-04-13 16:26:54 +03:00
.
2015-05-09 02:59:18 +03:00
.TP
2021-04-13 16:26:54 +03:00
.BR -V | --version
2015-05-09 02:59:18 +03:00
Display the version of lvmpolld daemon.
2015-05-14 20:33:27 +03:00
.TP
2017-03-27 17:45:48 +03:00
.B --dump
2015-05-14 20:33:27 +03:00
Contact the running lvmpolld daemon to obtain the complete state and print it
out in a raw format.
2021-04-13 16:26:54 +03:00
.
2015-05-09 02:59:18 +03:00
.SH ENVIRONMENT VARIABLES
2021-04-13 16:26:54 +03:00
.
2015-05-09 02:59:18 +03:00
.TP
.B LVM_LVMPOLLD_PIDFILE
Path for the pid file.
2021-04-13 16:26:54 +03:00
.
2015-05-09 02:59:18 +03:00
.TP
.B LVM_LVMPOLLD_SOCKET
Path for the socket file.
2021-04-13 16:26:54 +03:00
.
2015-05-09 02:59:18 +03:00
.SH SEE ALSO
2021-04-13 16:26:54 +03:00
.
2015-05-09 02:59:18 +03:00
.BR lvm (8),
.BR lvm.conf (5)