Linux command
lvmpolld 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
lvmpolld -f
Example
lvmpolld -f -l debug
Example
lvmpolld -t [300]
Example
lvmpolld -s [/tmp/lvmpolld.socket]
Example
lvmpolld -p [/tmp/lvmpolld.pid]
Dump the current state
lvmpolld --dump
说明
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.
参数
- -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
FAQ
What is the lvmpolld command used for?
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.
How do I run a basic lvmpolld example?
Run `lvmpolld -f` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -f, --foreground do in lvmpolld?
Run in the foreground instead of daemonizing