Solution to multi-path linux errors "FoundduplicatePVxxx"

Source: Internet
Author: User
Solution to multi-path linux errors & quot; FoundduplicatePVxxx & quot; dcoadbpro :~ # Usage: using/dev/sdbnot/dev/sdaFounddupl multi-path related error solution for linux "Found duplicate PV xxx" dcoadbpro :~ # Vgs Found duplicate PV usage: using/dev/sdb not/dev/sda Found duplicate PV usage: using/dev/sdc not/dev/sdb Found duplicate PV usage: using/dev/sdd not/dev/sdc VG # PV # LV # SN Attr VSize VFree dcoadbpro_lv 1 1 0 wz -- n-1000.00g 10.00gvg can be displayed, but an error is reported, duplicate means repetition. good English students should have come to the point. that's right. I suspect there is a problem with the multi-path service. Generally, the storage and host connection links are at least dual links. I have four links here. when the multi-path service is not started or abnormal, we will see four identical PVS. The solution is as follows: dcoadbpro :~ # Lvs Found duplicate PV usage: using/dev/sdb not/dev/sda Found duplicate PV usage: using/dev/sdc not/dev/sdb Found duplicate PV usage: using/dev/sdd not/dev/sdc lv vg Attr LSize Origin Snap % Move Log Copy % Convert lvol0 dcoadbpro_lv-wi-a-990.00 gdcoadbpro :~ # Pvs Found duplicate PV usage: using/dev/sdb not/dev/sda Found duplicate PV usage: using/dev/sdc not/dev/sdb Found duplicate PV usage: using/dev/sdd not/dev/sdc pv vg Fmt Attr PSize PFree/dev/sdd dcoadbpro_lv lvm2 a-1000.00g 10.00 gdcoadbpro :~ # Dcoadbpro :~ # Dcoadbpro :~ # Service multipathd startStarting multipathd donedcoadbpro :~ # Dcoadbpro :~ # Dcoadbpro :~ # Dcoadbpro :~ # Pvs pv vg Fmt Attr PSize PFree/dev/mapper/36001438007f2ed80000300000d00000 dcoadbpro_lv lvm2 a-1000.00g 10.00 gdcoadbpro :~ # Lvs lv vg Attr LSize Origin Snap % Move Log Copy % Convert lvol0 dcoadbpro_lv-wi-a-990.00 gdcoadbpro :~ # Vgs VG # PV # LV # SN Attr VSize VFree dcoadbpro_lv 1 1 0 wz -- n-1000.00g 10.00 gdcoadbpro :~ # Dcoadbpro :~ # Dcoadbpro :~ # Dcoadbpro :~ # Dcoadbpro :~ # Chkconfig multipathd ondcoadbpro :~ # Chkconfig -- list | grep mulmultipathd 0: off 1: off 2: off 3: on 4: off 5: on 6: off is a common error, as a DBA, I don't need to know these things. this is what storage engineers or system engineers should know. However, if one day I was unlucky, the system engineers or storage engineers who worked with me were very careless and did not configure many paths, just like the problem I encountered now, then I found that my blog recorded such a record, so I should be very happy. Although Haha is very simple, it is still recorded.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.