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-lvmetad
systemctl stop lvm2-lvmetad
systemctl 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.socket
systemctl stop lvm2-lvmetad.socket
systemctl 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