Bug 880395

Summary: lvm2app needs a way to set pv metadata size and count
Product: Red Hat Enterprise Linux 6 Reporter: benscott
Component: lvm2Assignee: Tony Asleson <tasleson>
lvm2 sub component: Python API / liblvm (RHEL6) QA Contact: Cluster QE <mspqa-list>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: agk, cmarthal, dwysocha, heinzm, jbrassow, msnitzer, prajnoha, prockai, tasleson, thornber, zkabelac
Version: 6.5Keywords: FutureFeature
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: lvm2-2.02.107-1.el6 Doc Type: Enhancement
Doc Text:
The lvm2app library gains functions to customise the parameters used to create physical volumes.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 08:23:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description benscott 2012-11-26 21:55:38 UTC
Description of problem:

Currently the lvm2app library can create physical volumes
but the metadata area is fixed. Having the option to have
two or no areas and to adjust the size would be useful.
Data alignment would be nice too.

Version-Release number of selected component (if applicable):

lvs --version
  LVM version:     2.02.98(2) (2012-10-15)
  Library version: 1.02.77 (2012-10-15)
  Driver version:  4.23.0

Thank you.

Comment 3 Tony Asleson 2013-11-22 17:09:29 UTC
Patch committed upstream adds this functionality:

http://www.redhat.com/archives/lvm-devel/2013-November/msg00087.html


Will be in next release (2.02.105)

Comment 7 Corey Marthaler 2014-07-24 16:16:23 UTC
Marking Verified (SanityOnly), no major issues found yet during regression testing on the latest rpms.


2.6.32-492.el6.x86_64
lvm2-2.02.107-2.el6    BUILT: Fri Jul 11 08:47:33 CDT 2014
lvm2-libs-2.02.107-2.el6    BUILT: Fri Jul 11 08:47:33 CDT 2014
lvm2-cluster-2.02.107-2.el6    BUILT: Fri Jul 11 08:47:33 CDT 2014
udev-147-2.56.el6    BUILT: Fri Jul 11 09:53:07 CDT 2014
device-mapper-1.02.86-2.el6    BUILT: Fri Jul 11 08:47:33 CDT 2014
device-mapper-libs-1.02.86-2.el6    BUILT: Fri Jul 11 08:47:33 CDT 2014
device-mapper-event-1.02.86-2.el6    BUILT: Fri Jul 11 08:47:33 CDT 2014
device-mapper-event-libs-1.02.86-2.el6    BUILT: Fri Jul 11 08:47:33 CDT 2014
device-mapper-persistent-data-0.3.2-1.el6    BUILT: Fri Apr  4 08:43:06 CDT 2014
cmirror-2.02.107-2.el6    BUILT: Fri Jul 11 08:47:33 CDT 2014

Comment 8 errata-xmlrpc 2014-10-14 08:23:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1387.html