Disabling lvmetad for Linux VMs

Updated

On this page

For backups of Oracle on Linux VMs, disable lvmetad daemons on the VSA proxy that is used for backups.

Procedure

To use a Linux proxy for the Virtual Server Agent, use the following commands to disable lvmetad. Having lvmetad running interferes with HotAdd operations during backup and recovery.

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

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

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