Disabling lvmetad for a Linux Proxy

Applies to: FusionCompute, Nutanix AHV, OpenStack, Oracle VM, Red Hat Virtualization

Red Hat Enterprise Linux 7.x, CentOS 7.x, SuSE Linux 15 SP1 Enterprise Server and Previous Versions

  1. Disable and stop the lvm2-lvmetad service using the following commands:

    systemctl disable lvm2-lvmetad
    systemctl stop lvm2-lvmetad
    systemctl mask lvm2-lvmetad
  2. Disable and stop the lvm2-lvmetad.socket service, run the following commands:

    systemctl disable lvm2-lvmetad.socket 
    systemctl stop lvm2-lvmetad.socket
    systemctl mask lvm2-lvmetad.socket
  3. To disable lvmetad, edit the LVM config file (/etc/lvm/lvm.conf) and change "use_lvmetad = 1" to "use_lvmetad = 0".

Red Hat Enterprise Linux 8.x and CentOS 8.x

  1. Upgrade the LVM module to lvm2-2.03.12-1.el8 or a more recent version.

  2. In the lvm.config file, set event_activation=0.

SuSE Linux 15 (SP2, SP3) Enterprise Server

  1. In the lvm.config file, set event_activation=0.

  2. Apply a patch from SuSE for the corresponding service pack.

    For example, for SUSE Linux 15 SP2 Enterprise Sever, apply the following patch:

    SUSE-SLE-Module-Basesystem-15-SP2-2021-1582

    SUSE-SLE-Product-HA-15-SP2-2021-1582

Loading...