---
name: "lvmconf"
section: "8"
platform: "linux"
package: "lvm2"
version: "2.02.168-2"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/lvmconf"
---

# lvmconf(8)

LVM configuration modifier

## 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)](/lvm.conf/5.md). 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\_type** to the default non-clustered type. Also reset lvmetad use to its default.

- **--enable-cluster**

  Set **locking\_type** to the default clustered type on this system. Also disable lvmetad use as it is not yet supported in clustered environment.

- **--disable-halvm**

  Set **locking\_type** to the default non-clustered type. Also reset lvmetad use to its default.

- **--enable-halvm**

  Set **locking\_type** suitable 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\_library** locking 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*

## SEE ALSO

[**lvm**(8)](/lvm/8.md), [**lvm.conf**(5)](/lvm.conf/5.md)
