lvmconf (8) Linux Manual Page
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
–disable-cluster- Set
locking_typeto the default non-clustered type. Also reset lvmetad use to its default. –enable-cluster- Set
locking_typeto the default clustered type on this system. Also disable lvmetad use as it is not yet supported in clustered environment. –disable-halvm- Set
locking_typeto the default non-clustered type. Also reset lvmetad use to its default. –enable-halvm- Set
locking_typesuitable for HA LVM use. Also disable lvmetad use as it is not yet supported in HA LVM environment. –file<configfile>- Apply the changes to configfile instead of the default /etc/lvm/lvm.conf.
–lockinglib<lib>- Set external
locking_librarylocking library to load if an external locking type is used. –lockinglibdir<dir>–services- 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.
–mirrorservice- Also enable or disable optional cmirrord service when handling services (applicable only with –services).
–startstopservices- In addition to enabling or disabling related services, start or stop them immediately (applicable only with –services).
Files
/etc/lvm/lvm.conf
