To prevent the lvmetad daemon from interfering with snapshot backup operations and snapshot restore operations, on the Azure Linux VM, turn the lvmetad daemon off.
For more information, go to the Red Hat Linux Documentation site, and search for "What is lvmetad and how do I disable it?".
Procedure
-
On the command line of the Azure VM, enter the following commands to disable and stop the lvmetad daemon:
systemctl disable lvm2-lvmetadsystemctl stop lvm2-lvmetadsystemctl mask lvm2-lvmetad -
On the command line of the Azure VM, enter the following commands to disable and stop the lvmetad socket:
systemctl disable lvm2-lvmetad.socketsystemctl stop lvm2-lvmetad.socketsystemctl mask lvm2-lvmetad.socket -
In the LVM config file
/etc/lvm/lvm.conf, add the following line to disable the lvmetad daemon:use_lvmetad = 0