What is lvmetad and how do I disable it?

Solution Verified - Updated -

Issue

  • What is lvmetad and its function? [FN.1]
  • The lvmetad daemon is enabled by default, and I need to disable lvmetad [FN.2]
  • May be seeing issues at boot up when lvmetad is enabled

    Warning: /dev/mapper/rootvg-lv_root does not exist
    Warning: /dev/rootvg/lv_root does not exist
    
  • LVM changes are not reflected by the rest of the nodes in my cluster.

  • After creating a volume group on a node in my cluster the other nodes do not reflect the change.

Environment

  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6
  • LVM

  • Exceptions:
    • For RHEL8 hosts:
      • The lvmetad daemon does not exist in RHEL8. Starting in RHEL8, the lvm metadata is no longer read from cache, but from the disks directly.[FN.4]

    Subscriber exclusive content

    A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

    Current Customers and Partners

    Log in for full access

    Log In

    New to Red Hat?

    Learn more about Red Hat subscriptions

    Using a Red Hat product through a public cloud?

    How to access this content