I now used:
filter =[ "a|/dev/disk/by-path/virtio-pci-*|" ]
Now it really is the same way on creation and query.
$ sudo /sbin/pvcreate /dev/disk/by-path/virtio-pci-0000:00:07.0
Physical volume "/dev/disk/by-path/virtio-pci-0000:00:07.0" successfully created.
$ sudo pvdisplay
"/dev/disk/by-path/virtio-pci-0000:00:07.0" is a new physical volume of "30.00 MiB"
--- NEW Physical volume ---
PV Name /dev/disk/by-path/virtio-pci-0000:00:07.0
And with that finally
$ sudo virsh pool-build testpool1
Pool testpool1 built
$ sudo virsh pool-start testpool1
Pool testpool1 started
I'd still be interested in the mail thread link.
But for your case, if you want to use by-path with LVM you should adapt the lvm.conf to use (only) these.
I now used: disk/by- path/virtio- pci-*|" ]
filter =[ "a|/dev/
Now it really is the same way on creation and query. by-path/ virtio- pci-0000: 00:07.0 by-path/ virtio- pci-0000: 00:07.0" successfully created. disk/by- path/virtio- pci-0000: 00:07.0" is a new physical volume of "30.00 MiB" by-path/ virtio- pci-0000: 00:07.0
$ sudo /sbin/pvcreate /dev/disk/
Physical volume "/dev/disk/
$ sudo pvdisplay
"/dev/
--- NEW Physical volume ---
PV Name /dev/disk/
And with that finally
$ sudo virsh pool-build testpool1
Pool testpool1 built
$ sudo virsh pool-start testpool1
Pool testpool1 started
I'd still be interested in the mail thread link.
But for your case, if you want to use by-path with LVM you should adapt the lvm.conf to use (only) these.