I'm afraid I don't get what you mean, or it doesn't work. I don't see any "Found duplicate PV" warnings:
# diff /etc/lvm/lvm.conf.ORIG /etc/lvm/lvm.conf
53c53,55
< filter = [ "a/.*/" ]
---
> #filter = [ "a/.*/" ]
> # For DEBD setup, accept only DRBD and "SCSI" disks
> filter = [ "a/drbd/", "a/sda/", "a/sdb/", "r/.*/" ]
# vgscan
Reading all physical volumes. This may take a while...
Found volume group "vg1" using metadata type lvm2
Found volume group "vg0" using metadata type lvm2
# pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 vg0 lvm2 a- 228.75G 20.75G
/dev/sdb1 vg1 lvm2 a- 372.61G 0
# pvcreate /dev/drbd0
Physical volume "/dev/drbd0" successfully created
# vgcreate replicated /dev/drbd0
Volume group "replicated" successfully created
# vgscan
Reading all physical volumes. This may take a while...
Found volume group "vg1" using metadata type lvm2
Found volume group "vg0" using metadata type lvm2
Found volume group "replicated" using metadata type lvm2
# pvs
PV VG Fmt Attr PSize PFree
/dev/dm-2 replicated lvm2 a- 96.00G 96.00G
/dev/sda3 vg0 lvm2 a- 228.75G 20.75G
/dev/sdb1 vg1 lvm2 a- 372.61G 0
# lvcreate --name Mail --size 32G replicated
device-mapper: reload ioctl failed: Invalid argument
Aborting. Failed to activate new LV to wipe the start of it.
Oct 27 13:10:13 nyx kernel: device-mapper: table: 253:4: linear: dm-linear: Device lookup failed
Oct 27 13:10:13 nyx kernel: device-mapper: ioctl: error adding target to table
As far as I can tell nothing has changed. Did I miss something?
I'm afraid I don't get what you mean, or it doesn't work. I don't see any "Found duplicate PV" warnings:
# diff /etc/lvm/ lvm.conf. ORIG /etc/lvm/lvm.conf
53c53,55
< filter = [ "a/.*/" ]
---
> #filter = [ "a/.*/" ]
> # For DEBD setup, accept only DRBD and "SCSI" disks
> filter = [ "a/drbd/", "a/sda/", "a/sdb/", "r/.*/" ]
# vgscan
Reading all physical volumes. This may take a while...
Found volume group "vg1" using metadata type lvm2
Found volume group "vg0" using metadata type lvm2
# pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 vg0 lvm2 a- 228.75G 20.75G
/dev/sdb1 vg1 lvm2 a- 372.61G 0
# pvcreate /dev/drbd0
Physical volume "/dev/drbd0" successfully created
# vgcreate replicated /dev/drbd0
Volume group "replicated" successfully created
# vgscan
Reading all physical volumes. This may take a while...
Found volume group "vg1" using metadata type lvm2
Found volume group "vg0" using metadata type lvm2
Found volume group "replicated" using metadata type lvm2
# pvs
PV VG Fmt Attr PSize PFree
/dev/dm-2 replicated lvm2 a- 96.00G 96.00G
/dev/sda3 vg0 lvm2 a- 228.75G 20.75G
/dev/sdb1 vg1 lvm2 a- 372.61G 0
# lvcreate --name Mail --size 32G replicated
device-mapper: reload ioctl failed: Invalid argument
Aborting. Failed to activate new LV to wipe the start of it.
Oct 27 13:10:13 nyx kernel: device-mapper: table: 253:4: linear: dm-linear: Device lookup failed
Oct 27 13:10:13 nyx kernel: device-mapper: ioctl: error adding target to table
As far as I can tell nothing has changed. Did I miss something?