When using the various LVM utilities, each utility uses a central configuration file to govern its behavior. This configuration file is the /etc/lvm/lvm.conf file. The file has wonderful internal documentation and additional assistance is provided when you type man lvm.conf at the command line.
On earlier distributions, the lvmconf command was used to display lvm.conf settings instead of the ‘lvm dumpconfig’ command. There is a lot of information displayed by the lvmconf commands. It is worth piping the output into a pager utility for easy viewing.
lvmconf Command Examples
1. To set locking_type to the default non-clustered type:
# lvmconf --disable-cluster
2. To set locking_type to the default clustered type on this system:
# lvmconf --enable-cluster
3. To apply the changes to configfile instead of the default /etc/lvm/lvm.conf:
# lvmconf --file <configfile>
4. To set external locking_library locking library to load if an external locking type is used:
# lvmconf --lockinglib <lib>