Re: Found duplicate PV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 04.Dez.2013, at 15:08, Nux! wrote:

> On 04.12.2013 13:43, Markus Falb wrote:
>> 
>> 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?
> 
> Markus,
> 
> I see /etc/lvm/lvm.conf has an option to ignore md members and seems on 
> by default in EL6:
> md_component_detection = 1
> 
> If you run "pvdisplay /dev/sda2" what does it show? Normally you should 
> get a "Failed to read physical volume "/dev/sda2".
> 
> Do you have such thing in your /etc/lvm/lvm.conf? ADditionally you can 
> force a filter on the drives, smth like:
> filter = ["r|/dev/sda2"]
> (make sure you delete /etc/lvm/cache/.cache and regenerate it with 
> vgscan so as not to contain old stuff)

I removed the cache and that did the trick. I did not modify lvm.conf.

-- 
Markus

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux