Translated message

A translation of this page exists in English.

在 Red Hat Enterprise Linux 6 中,dm-multipath 设备被损坏,并指向相同的路径

Solution In Progress - Updated -

Issue

  • 当节点重启时,会出现以下错误:

    • 在运行 lvm 命令时,出现"重复的 PV",两者都是多路径设备:
    Found duplicate PV BP75I3rHEkyLNynrFwSgS95fGNdTvCCo: using `/dev/mapper/mpathdp1` not `/dev/mapper/mpathgp1`
    
    • multipath -ll 的输出显示,有多个多路径设备具有相同的路径(在这里,mpathdmpathg 都会报告 sdksde 是它们的路径):
    # multipath -ll
    <... some data omitted ...>
    mpathd (360060e801013b1d0058b3aed00000097) dm-5 HITACHI,DF600F
    size=100G features='1 queue_if_no_path' hwhandler='0' wp=rw
    |-+- policy='round-robin 0' prio=1 status=active
    | `- 3:0:0:5   sdk 8:160 active ready running
    `-+- policy='round-robin 0' prio=0 status=enabled
      `- 4:0:0:5   sde 8:64  active ready running
    ...
    mpathg (360060e801013b1d0058b3aed00000069) dm-0 HITACHI,DF600F
    size=100G features='1 queue_if_no_path' hwhandler='0' wp=rw
    |-+- policy='round-robin 0' prio=1 status=active
    | `- 3:0:0:5   sdk 8:160 active ready running
    `-+- policy='round-robin 0' prio=0 status=enabled
      `- 4:0:0:5   sde 8:64  active ready running
    
    • 其他一些 LVM 命令会报告,它们无法找到特定的 LVM 物理卷 (PV):
    # pvscan
      Couldn't find device with uuid WZufCX-LdeX-jEQO-heUb-yAY0-y5IK-pmYlFX.
      Couldn't find device with uuid BP75I3-rHEk-yLNy-nrFw-SgS9-5fGN-dTvCCo.
        Couldn't find device with uuid WZufCX-LdeX-jEQO-heUb-yAY0-y5IK-pmYlFX.
        Couldn't find device with uuid BP75I3-rHEk-yLNy-nrFw-SgS9-5fGN-dTvCCo.
        There are 2 physical volumes missing.
      PV unknown device          VG dbvg00     lvm2 [100.00 GiB / 1.99 GiB free]
      PV /dev/mapper/mpathhp1    VG dbvg00     lvm2 [100.00 GiB / 0    free]
      PV unknown device          VG dbvg00     lvm2 [100.00 GiB / 0    free]
      PV /dev/mapper/mpathip1    VG dbvg00     lvm2 [100.00 GiB / 85.00 GiB free]
    

Environment

  • Red Hat Enterprise Linux 6 (RHEL6)
    • kernel-2.6.32-279.el6 上发现存在这个问题,但当前还不知道是否其他版本会受影响。
  • device-mapper-multipath 管理 SAN 存储
    • device-mapper-multipath-0.4.9-56.el6 上发现存在这个问题,但当前还不知道是否其他版本会受影响。
    • 多路径绑定文件位于 /etc/multipath/bindings 中,并位于根文件系统中(这与 此问题相反)。
    • 只有在 /etc/multipath.conf 中使用 user_friendly_names yes 选项时才会出现这个问题。

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