LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

lvmpolld

LVM poll daemon that supervises long-running LVM operations

TLDR

Run in the foreground rather than daemonizing
$ lvmpolld --foreground
copy
Add debug logging while troubleshooting
$ lvmpolld --foreground --log debug
copy
Exit after a period with no work to do
$ lvmpolld --timeout [300]
copy
Listen on a non-default socket
$ lvmpolld --socket [/tmp/lvmpolld.socket]
copy
Write the PID file somewhere else
$ lvmpolld --pidfile [/tmp/lvmpolld.pid]
copy
Use a specific lvm binary for the polling work
$ lvmpolld --binary [/usr/sbin/lvm]
copy
Print what the running daemon is currently tracking
$ lvmpolld --dump
copy

SYNOPSIS

lvmpolld [options]

DESCRIPTION

lvmpolld is the LVM poll daemon that supervises long-running LVM operations such as pvmove, lvconvert mirroring, and thin pool extension. It monitors these operations and updates their progress, allowing the initiating command to return while work continues in the background.When an LVM command starts a polled operation, lvmpolld tracks its completion status. The daemon starts automatically when needed and shuts down after a configurable idle period.The daemon communicates via a Unix socket, typically at /run/lvm/lvmpolld.socket, and maintains state about active operations.

PARAMETERS

-f, --foreground

Run in the foreground instead of daemonizing
-l, --log level
Set log level (debug, info, warn, error)
-t, --timeout seconds
Set idle shutdown timeout; daemon exits after being idle this long
-s, --socket path
Use a custom Unix socket path for communication
-p, --pidfile path
Use a custom PID file location
--dump
Dump the current state of the daemon and exit

INSTALL

sudo apt install lvm2
copy
sudo dnf install lvm2
copy
sudo pacman -S lvm2
copy
sudo apk add lvm2-lockd
copy
sudo zypper install lvm2
copy
nix profile install nixpkgs#lvm2
copy

CAVEATS

Usually started automatically by LVM commands; manual invocation is rarely needed. If the daemon dies during an active operation, restarting the original command will resume polling. The --dump option is useful for debugging active operations.

SEE ALSO

lvm(1), pvmove(1), lvconvert(1), lvmconfig(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid