Linux "lvmetad" Command Line Options and Examples
LVM metadata cache daemon

The lvmetad daemon caches LVM metadata so that LVM commands can read metadata from the cache rather than scanning disks. This can be an advantage because scanning disks is time consuming and may interfere with the normal work of the system. lvmetad can be a disad‐ vantage when disk event notifications from the system are unreliable.


Usage:

lvmetad [-l level[,level...]] [-p pidfile_path] [-s socket_path] [-t timeout_value] [-f] [-h] [-V] [-?]






Command Line Options:

-f
but run in the foreground.
lvmetad -f ...
-h
-? Show help information.
lvmetad -h ...
-l
Specify the levels of log messages to generate as a comma separated list. Messages are logged by syslog. Additionally, when
lvmetad -l ...
-p
Path to the pidfile. This overrides both the built-in default (/run/lvmetad.pid) and the environment variable LVM_LVMETAD_PID‐FILE. This file is used to prevent more than one instance of the daemon running simultaneously.
lvmetad -p ...
-s
Path to the socket file. This overrides both the built-in default (/run/lvm/lvmetad.socket) and the environment variableLVM_LVMETAD_SOCKET. To communicate successfully with lvmetad, all LVM2 processes should use the same socket path.
lvmetad -s ...
-t
The daemon may shutdown after being idle for the given time (in seconds). When the option is omitted or the value given iszero the daemon never shutdowns on idle.
lvmetad -t ...
-V
ENVIRONMENT VARIABLESLVM_LVMETAD_PIDFILEPath for the pid file.LVM_LVMETAD_SOCKETPath for the socket file.
lvmetad -V ...