我在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过滤器方面做了很多尝试。 任何人都可以帮我这个。 在此先感谢:)
答案 0 :(得分:0)
我在Centos 7.2上遇到同样的问题,我在网上搜索后找到了解决方案。
操作
vgcfgbackup;vgcfgbackup -f /root/vgcfg.backup
vgcfgrestore vg01
vgscan;pvscan
vgdisplay vg01
完整解决方案的链接位于http://www.torrycrass.com/2016/05/18/lvm-duplicate-of-pv-exists-on-unknown-device