[CentOS] Found duplicate PV

Markus Falb wnefal at gmail.com
Wed Dec 4 13:43:12 UTC 2013

(sorry for cross-posting, you will find this message also in centos-virt, maybe, but this was not intended and a mistake)

I have a system with a mdraid 1

md1 : active raid1 sdb2[1] sda2[0]
     1465031488 blocks [2/2] [UU]

this raid partition has a lvm physical volume with one volume group and several logical volumes. This machine is running since years and I seldom touch the lvm config. The lvm commands are giving me strange warnings I am uncomfortable with

# pvdisplay 
 Found duplicate PV b79x0kLXR9mAC0z0IZUxyJG1VC24Crl7: using /dev/sda2 not /dev/md1
 --- Physical volume ---
 PV Name               /dev/sda2
 VG Name               vg_sys
 PV Size               1.36 TB / not usable 6.81 MB
 Allocatable           yes 
 PE Size (KByte)       32768
 Total PE              44709
 Free PE               17701
 Allocated PE          27008
 PV UUID               b79x0k-LXR9-mAC0-z0IZ-UxyJ-G1VC-24Crl7

What does this "Found duplicate PV b79x0kLXR9mAC0z0IZUxyJG1VC24Crl7: using /dev/sda2 not /dev/md1" message?
Some logical volumes are virtual disks vor kvm guests. Are these guests using sda only and not the mdraid?


More information about the CentOS mailing list