LVMPOLLD(8)

πŸ’– LVMPOLLD πŸ’–

okay bestie, gather round, because we're talking about lvmpolld β€” the LVM poll daemon from the System Manager's Manual. yes it's a daemon, yes it's important, and yes i'm gonna make it make sense. periodt. ✨


🌸 NAME 🌸

lvmpolld β€” the LVM poll daemon. that's it, that's the name, she's iconic and she knows it πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

lvmpolld [-B|--binary lvm_binary_path] [-f|--foreground] [-h|--help]
         [-l|--log all|wire|debug] [-p|--pidfile pidfile_path]
         [-s|--socket socket_path] [-t|--timeout timeout_value]
         [-V|--version]

lvmpolld [--dump]

✨ DESCRIPTION ✨

okay so. lvmpolld is a polling daemon for LVM, and her whole job is receiving requests to poll already-initialised operations, which come straight from the LVM2 command line tool. the requests for polling originate from the lvconvert, pvmove, lvchange or vgchange LVM2 commands. so she's out here catching polls like it's her entire personality 🫢

the whole point of lvmpolld is to reduce the number of spawned background processes per otherwise unique polling operation. and like. there should be only one. one! not a chaotic crowd of them, okay? πŸ’€ she also eliminates the possibility of unsolicited termination of a background process by external factors β€” so nobody can just ✨ cancel ✨ your poll out of nowhere, bestie.

lvmpolld is used by LVM only if it is enabled in lvm.conf(5) by specifying the global/use_lvmpolld setting. and if this is not defined in the LVM configuration explicitly, then the default setting is used instead β€” go check the output of the lvmconfig --type default global/use_lvmpolld command to see what that default is for yourself, i believe in you πŸŽ€


πŸ’… OPTIONS πŸ’…

heads up bestie: to run the daemon in a test environment, both the pidfile_path and the socket_path should be changed from the defaults. no cap.
  • -B, --binary lvm_binary_path β€” optional path to an alternative LVM binary (default: /usr/bin/lvm). use for testing purposes only, okay? this is not a casual-everyday-behavior situation πŸ™ˆ
  • --dump β€” contact the running lvmpolld daemon to obtain the complete state, and print it out in a raw format. it's giving "spill the tea, tell me everything" β˜•
  • -f, --foreground β€” don't fork, just run in the foreground. no background branching bestie, we're all up in the main character spotlight πŸ‘‘
  • -h, --help β€” show help information. when in doubt, ask for help, it's literally free πŸ’–
  • -l, --log all|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 debug. selecting 'all' supplies both and is equivalent to a comma-separated list -l wire,debug. so like, all = the whole album, deluxe edition 🎢
  • -p, --pidfile pidfile_path β€” 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 β€” she's monogamous, she does not share 🚫
  • -s, --socket socket_path β€” path to the socket file. this overrides both the built-in default (/run/lvm/lvmpolld.socket) and the environment variable LVM_LVMPOLLD_SOCKET. same energy, different file ✨
  • -t, --timeout timeout_value β€” the daemon may shut down after being idle for the given time (in seconds). when the option is omitted, or the value given is zero, the daemon never shuts down when idle. she simply does not leave until you tell her to 😌
  • -V, --version β€” display the version of the lvmpolld daemon. standard, iconic, we love a version flag 🌈

πŸ“ ENVIRONMENT VARIABLES πŸ“

  • LVM_LVMPOLLD_PIDFILE β€” path for the pid file. πŸ“
  • LVM_LVMPOLLD_SOCKET β€” path for the socket file. πŸ”Œ

πŸ’œ SEE ALSO πŸ’œ

lvm(8), lvm.conf(5), lvchange(8), lvconvert(8), pvmove(8), vgchange(8)

go read them, they're all bangers, iykyk πŸ“š


and that's the whole page bestie!! this lil manual comes to you from Red Hat, Inc., and it's LVM TOOLS 2.03.44(2), dated 2026-10-27 πŸŒΈπŸ¦‹βœ¨ β€” she's slaying, she's documented, she's never shutting down when idle unless you say so. mwah πŸ’–

πŸ“¦ where this page comes from