Bug 913597 - Patch to make lvm2 recognize lvm volume groups on zfs zvols
Summary: Patch to make lvm2 recognize lvm volume groups on zfs zvols
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: 19
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Kabelac
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-21 15:05 UTC by Karl Hakimian
Modified: 2014-02-20 00:46 UTC (History)
11 users (show)

Fixed In Version: lvm2-2.02.98-15.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-20 00:46:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to get lvm2 to recognize volume groups on zfs zvols (327 bytes, text/plain)
2013-02-21 15:05 UTC, Karl Hakimian
no flags Details

Description Karl Hakimian 2013-02-21 15:05:10 UTC
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.

Comment 1 Alasdair Kergon 2013-03-06 13:07:02 UTC
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.

Comment 2 Karl Hakimian 2013-03-06 13:13:51 UTC
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

Comment 3 Fedora End Of Life 2013-04-03 16:01:52 UTC
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

Comment 4 Zdenek Kabelac 2014-01-28 09:42:38 UTC
Support introduced in upstream commit:

https://www.redhat.com/archives/lvm-devel/2014-January/msg00061.html

Comment 5 Fedora Update System 2014-02-17 14:53:21 UTC
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

Comment 6 Fedora Update System 2014-02-18 13:45:07 UTC
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).

Comment 7 Fedora Update System 2014-02-20 00:46:16 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.