Bug 918328
Summary: | [RFE] Add an option to lvcreate to specify a tolerance in extents | ||
---|---|---|---|
Product: | [Community] LVM and device-mapper | Reporter: | David Lehman <dlehman> |
Component: | lvm2 | Assignee: | LVM Team <lvm-team> |
lvm2 sub component: | Changing Logical Volumes | QA Contact: | cluster-qe <cluster-qe> |
Status: | NEW --- | Docs Contact: | |
Severity: | unspecified | ||
Priority: | unspecified | CC: | agk, amulhern, bmarzins, bmr, dwysocha, heinzm, jbrassow, jonathan, lvm-team, prajnoha, zkabelac |
Version: | 2.02.166 | Keywords: | FutureFeature |
Target Milestone: | --- | Flags: | rule-engine:
lvm-technical-solution?
rule-engine: lvm-test-coverage? |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 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
David Lehman
2013-03-05 22:25:45 UTC
How about specifying size with '~' lvcreate -L~10M lvcreate -l~20 With semantic - 'anything up to 10M - or up to 20 extents' so allocation of 1..20 extents would be success, but 0 failure. Or do we need to 'fail' if there would be i.e. only 15 extents ? (the opposite direction -L10M has the meaning 'not less then 10M') A defined tolerance would be slightly preferable but the proposal from comment 1 would most likely be adequate for our purposes. When might this get into a build of lvm2? I am on the verge of having to add yet another hack to anaconda/blivet to handle this, but it would be much nicer if that wasn't necessary. It is possible that the --total-size option idea of bz#1314770 would take care of some of the problem. |