未知设备8:96上存在PV dev / dev / mapper / mpathc的副本

时间:2017-01-31 04:36:38

标签: linux oracle lvm

我在RHEL linux中配置了多路径。我已将过滤器更改为" filter = [ "a|/dev/disk/by-id/dm-uuid-.*mpath-.*|", "r|.*|"]"。之后,如果发出跟随错误

,则发出命令vgscan
Duplicate of PV TNaeXs-74GB-U2hq-DR8Z-nlJO-UQdQ-rg7hW7 dev /dev/mapper/mpathc exists on unknown device 8:96
  Duplicate of PV TNaeXs-74GB-U2hq-DR8Z-nlJO-UQdQ-rg7hW7 dev /dev/mapper/mpathc exists on unknown device 8:16
  Duplicate of PV OLugXq-iONS-X2Zm-JScR-0Khq-SekX-N2IhQl dev /dev/mapper/mpathb exists on unknown device 8:80
  Duplicate of PV OLugXq-iONS-X2Zm-JScR-0Khq-SekX-N2IhQl dev /dev/mapper/mpathb exists on unknown device 8:0
  Duplicate of PV OLugXq-iONS-X2Zm-JScR-0Khq-SekX-N2IhQl dev /dev/mapper/mpathb exists on unknown device 8:80
  Duplicate of PV OLugXq-iONS-X2Zm-JScR-0Khq-SekX-N2IhQl dev /dev/mapper/mpathb exists on unknown device 8:0
  Duplicate of PV TNaeXs-74GB-U2hq-DR8Z-nlJO-UQdQ-rg7hW7 dev /dev/mapper/mpathc exists on unknown device 8:96
  Duplicate of PV TNaeXs-74GB-U2hq-DR8Z-nlJO-UQdQ-rg7hW7 dev /dev/mapper/mpathc exists on unknown device 8:16
  Duplicate of PV OLugXq-iONS-X2Zm-JScR-0Khq-SekX-N2IhQl dev /dev/mapper/mpathb exists on unknown device 8:80
  Duplicate of PV OLugXq-iONS-X2Zm-JScR-0Khq-SekX-N2IhQl dev /dev/mapper/mpathb exists on unknown device 8:0
  Duplicate of PV TNaeXs-74GB-U2hq-DR8Z-nlJO-UQdQ-rg7hW7 dev /dev/mapper/mpathc exists on unknown device 8:96
  Duplicate of PV TNaeXs-74GB-U2hq-DR8Z-nlJO-UQdQ-rg7hW7 dev /dev/mapper/mpathc exists on unknown device 8:16
  PV /dev/mapper/mpathb    VG lvol0   lvm2 [799.98 GiB / 49.98 GiB free]
  PV /dev/mapper/mpatha1   VG rhel    lvm2 [99.97 GiB / 0    free]
  PV /dev/mapper/mpathc    VG lvol1   lvm2 [49.98 GiB / 1008.00 MiB free]
  Total: 3 [949.94 GiB] / in use: 3 [949.94 GiB] / in no VG: 0 [0   ]

我在修改lvm过滤器方面做了很多尝试。 任何人都可以帮我这个。 在此先感谢:)

1 个答案:

答案 0 :(得分:0)

我在Centos 7.2上遇到同样的问题,我在网上搜索后找到了解决方案。

  1. 备份您的vg信息,然后恢复vg信息,扫描vg和pv。烦人的信息将消失
  2. 操作

    1. vgcfgbackup;vgcfgbackup -f /root/vgcfg.backup
    2. vgcfgrestore vg01
    3. vgscan;pvscan
    4. vgdisplay vg01
  3. 完整解决方案的链接位于http://www.torrycrass.com/2016/05/18/lvm-duplicate-of-pv-exists-on-unknown-device