问题描述:
[root@stmysql2 ~]# pvs
Found duplicate PV ozkHhAfbmyoxllSx4Et5KyZAJDo7net6: using /dev/sdb not /dev/emcpoweraFound duplicate PV ozkHhAfbmyoxllSx4Et5KyZAJDo7net6: using /dev/sdf not /dev/sdb
Found duplicate PV ozkHhAfbmyoxllSx4Et5KyZAJDo7net6: using /dev/sdj not /dev/sdf
Found duplicate PV ozkHhAfbmyoxllSx4Et5KyZAJDo7net6: using /dev/sdn not /dev/sdj
PV VG Fmt Attr PSize PFree
/dev/cciss/c0d0p2 VolGroup00 lvm2 a-- 279.25G 117.19G
/dev/cciss/c0d1p1 datavg lvm2 a-- 1.23T 1.04T
/dev/sdn lvm2 a-- 210.00G 210.00G
原因分析:
默认的扫描设置是扫描所有的磁盘,由于多路径的问题,多块磁盘前面的元数据信息是一致的,导致PV信息相同
With a default configuration, LVM commands will scan for devices in /dev, and check every resulting device for LVM metadata. This is caused by the default fil