Created attachment 700588 [details] Patch to get lvm2 to recognize volume groups on zfs zvols Description of problem: On a linux system running zfs, lvm2 does not work with volume groups that reside on zfs zvols. The attached patch adds in zvols as a valid block device to be checked.
This is not something I will be testing, so please can you provide some evidence that the patch is correct? In particular, create several volumes, some of them partitioned, and show a listing of them in /dev with their major+minor numbers to demonstrate that '16' is correct.
I'm using it on several of my machines, here's the output from one of them. # pvdisplay --- Physical volume --- PV Name /dev/zd128p1 VG Name andson PV Size 399.99 GiB / not usable 2.72 MiB Allocatable yes PE Size 4.00 MiB Total PE 102398 Free PE 25176 Allocated PE 77222 PV UUID ErgAY2-xvlf-rfaf-tlKr-yZj5-onOV-xf5Wp4 --- Physical volume --- PV Name /dev/zd48p1 VG Name boffin PV Size 19.99 GiB / not usable 1.43 MiB Allocatable yes PE Size 4.00 MiB Total PE 5118 Free PE 254 Allocated PE 4864 PV UUID kBazd2-pUK7-1fdX-LPfP-QvYS-S4go-foO1Hb --- Physical volume --- PV Name /dev/zd0 VG Name ranger PV Size 10.00 GiB / not usable 3.81 MiB Allocatable yes PE Size 4.00 MiB Total PE 2559 Free PE 767 Allocated PE 1792 PV UUID SOc3hs-pK3q-Zlym-ivsv-kYZU-qPJW-u1qCBZ
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19
Support introduced in upstream commit: https://www.redhat.com/archives/lvm-devel/2014-January/msg00061.html
lvm2-2.02.98-15.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/lvm2-2.02.98-15.fc19
Package lvm2-2.02.98-15.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing lvm2-2.02.98-15.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-2701/lvm2-2.02.98-15.fc19 then log in and leave karma (feedback).
lvm2-2.02.98-15.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.