Steps to disable lmetad service in RedHat 7:
· Change value to “use_lvmetad = 0” in /etc/lvm/lvm.conf
· Stop services: lvm2-lvmetad.socket and lvm2-lvmetad.service
# systemctl stop lvm2-lvmetad.socket # systemctl stop lvm2-lvmetad.service
· Rescan disks
# pvscan –cache
# vgscan
# lvscan
· Disable services: lvm2-lvmetad.socket and lvm2-lvmetad.service
# systemctl disable lvm2-lvmetad.service Removed symlink /etc/systemd/system/sysinit.target.wants/lvm2-lvmetad.service. # systemctl disable lvm2-lvmetad.socket Removed symlink /etc/systemd/system/sysinit.target.wants/lvm2-lvmetad.socket.
Check is OK:
# pvs