Translated message

A translation of this page exists in English.

什么是 LVM 过滤设置,如何在 RHEL 中配置它?

Solution Verified - Updated -

Issue

  • 我的服务器上有多个磁盘,但不是所有磁盘都分配给 LVM
  • 默认的 LVM 设置 filter = [ "a/.*/" ]global_filter = [ "a/.*/" ] 会在引导时为 LVM 设备进行额外的不必要的 I/O 测试。
  • LVM 命令会报告多路径设备中的被动路径有 I/O 错误。
  • "LVM 命令报告"Found duplicate" UUID 检测事件"
  • pvs 和 pvscan 命令显示以下信息:

    WARNING: Not useing lvmetad because duplicate PVs were found.
    :
    WARNING: PV <uuid> on /dev/sdX was already found on /dev/mapper/mpatha.
    WARNING: PV <uuid> prefers device /dev/mapper/mpatha becasue device is used by LVM.
    

Environment

  • Red Hat Enterprise Linux (RHEL) 5, 6, 7, 8
  • Logical Volume Manager (LVM/LVM2)

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