Translated message

A translation of this page exists in English.

什么是 lvmetad?如何禁用它?

Solution In Progress - Updated -

Issue

  • 什么是 lvmetad?其功能是什么?[FN.1]
  • lvmetad 守护进程默认启用,我需要禁用 lvmetad [FN.2]
  • 在启用了 lvmetad 时,在引导时可能会出现问题

    Warning: /dev/mapper/rootvg-lv_root does not exist
    Warning: /dev/rootvg/lv_root does not exist
    
  • LVM 的变化并没有反映到集群中的其他节点。

  • 在集群的一个节点上创建了一个卷组后,这个变化并没有反映到集群中的其他节点中。

Environment

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

  • 例外:
    • 对于 RHEL8 主机:
      • RHEL8 中并不存在 lvmetad 守护进程。 从 RHEL8 开始,lvm 元数据不再从缓存中读取,而是直接从磁盘读取。[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