Bug 1108516 - [RFE] Make -L option accept <N>%FREE and <N>%PVS
Summary: [RFE] Make -L option accept <N>%FREE and <N>%PVS
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Zdenek Kabelac
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-12 07:42 UTC by Marian Csontos
Modified: 2023-08-02 02:20 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marian Csontos 2014-06-12 07:42:14 UTC
I am fixing issues in a test suite using `lvcreate -L $SIZE...` to create LVs.

Usually there is absolute size passed (e.g. `4G`) but when creating larger LVs I want them not to exceed size of available PVs so want to be able to use `%PVS` or `%FREE` with -L.

Is there any reason why `100%PVS` should not be accepted with `-L`?

Comment 1 Alasdair Kergon 2014-06-12 13:22:25 UTC
Well it was simply an implementation matter that adding it to -l was easier than adding it to -L.  Anything is possible, but we have more important things to do so don't expect this any time soon.

Comment 2 Zdenek Kabelac 2014-11-25 14:25:35 UTC
I've partial patchset 'ready'- but accepting it globally is a bit more complicated (i.e. lvresize...)


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