Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1356151 - Bring lvcreate --extents explanation in line w/ corrected manpage information
Summary: Bring lvcreate --extents explanation in line w/ corrected manpage information
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: doc-Logical_Volume_Manager
Version: 7.3
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Steven J. Levine
QA Contact: ecs-bugs
Depends On: 1269893
TreeView+ depends on / blocked
Reported: 2016-07-13 13:43 UTC by mulhern
Modified: 2019-03-06 01:30 UTC (History)
17 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of: 1269893
Last Closed: 2016-11-07 21:24:53 UTC
Target Upstream Version:

Attachments (Terms of Use)

Comment 2 Steven J. Levine 2016-09-14 18:52:48 UTC
I have updated the description of the -l option of lvcreate to reflect the updated man page in the RHEL 7.3 draft.  The description now begins with this paragraph:

"You can use the -l argument of the lvcreate command to specify the size of the logical volume in extents. You can also use this argument to specify the percentage of of the size of a related volume group, logical volume, or set of physical volumes. The suffix %VG denotes the total size of the volume group, the suffix %FREE the remaining free space in the volume group, and the suffix %PVS the free space in the specified physical volumes. For a snapshot, the size can be expressed as a percentage of the total size of the origin logical volume with the suffix %ORIGIN (100%ORIGIN provides space for the whole origin). When expressed as a percentage, the size defines an upper limit for the number of logical extents in the new logical volume. The pre‐ cise number of logical extents in the new LV is not determined until the command has completed. "

The examples remain the same:

The following command creates a logical volume called mylv that uses 60% of the total space in volume group testvg.

# lvcreate -l 60%VG -n mylv testvg

The following command creates a logical volume called yourlv that uses all of the unallocated space in the volume group testvg.

# lvcreate -l 100%FREE -n yourlv testvg

This can be seen in this document, section 4.4.1:

Comment 3 Steven J. Levine 2016-10-21 18:46:39 UTC
The info in the doc for 7.3 is now consistent with the man page so I'm closing this out.

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