Search code examples
linuxcentoscpanelrestartwhm

Restart lvmetad service in Linux / Centos / cPanel


I have CentOS 7 with cPanel

Logged in as root in Centos via console: /bin/needs-restarting

display that: /usr/sbin/lvmetad -f need to be restarted(to avoid restarting whole system).

In documentation provided by RedHat regarding to: The Metadata Daemon(lvmetad)

I do not find how the metadata caching daemon for LVM can be restarted separatly.

Q.: How to restart lvmetad service in Linux / Centos via command line?


Solution

  • The service is called lvm2-lvmetad, as it says in the Red Hat documentation:

    Start the daemon through the lvm2-lvmetad service"

    You can use systemctl restart lvm2-lvmetad.service to restart it.