Scroll to navigation

LVMCONF(8) LVMCONF(8)

NAME

lvmconf — LVM configuration modifier

SYNOPSIS

lvmconf [--disable-cluster] [--enable-cluster] [--enable-halvm] [--disable-halvm] [--file <configfile>] [--lockinglib <lib>] [--lockinglibdir <dir>] [--services] [--mirrorservice] [--startstopservices]

DESCRIPTION

lvmconf is a script that modifies the locking configuration in an lvm configuration file. See lvm.conf(5). In addition to that, it can also set Systemd or SysV services according to changes in the lvm configuration if needed.

OPTIONS

Set locking_type to the default non-clustered type. Also reset lvmetad use to its default.
Set locking_type to the default clustered type on this system. Also disable lvmetad use as it is not yet supported in clustered environment.
Set locking_type to the default non-clustered type. Also reset lvmetad use to its default.
Set locking_type suitable for HA LVM use. Also disable lvmetad use as it is not yet supported in HA LVM environment.
Apply the changes to configfile instead of the default /etc/lvm/lvm.conf.
Set external locking_library locking library to load if an external locking type is used.
In addition to setting the lvm configuration, also enable or disable related Systemd or SysV clvmd and lvmetad services. This script does not configure services provided by cluster resource agents.
Also enable or disable optional cmirrord service when handling services (applicable only with --services).
In addition to enabling or disabling related services, start or stop them immediately (applicable only with --services).

FILES

/etc/lvm/lvm.conf

SEE ALSO

lvm(8), lvm.conf(5)

LVM TOOLS 2.02.187(2)-RHEL7 (2020-03-24) Red Hat, Inc