Bug 1278959 - lvm2: thin-pool: Grow thin pool by smaller than desired free space
lvm2: thin-pool: Grow thin pool by smaller than desired free space
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: lvm2 (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Zdenek Kabelac
Depends On:
  Show dependency treegraph
Reported: 2015-11-06 15:59 EST by Vivek Goyal
Modified: 2017-11-01 20:03 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Vivek Goyal 2015-11-06 15:59:42 EST
Description of problem:

Right now if a user has configured thin pool to be grown by 20%, that means
we calculate the 20% of existing thin pool size and grow pool by that amount. What if desire free space is not available in volume group. In that case thin pool extension fails. 

Change the logic in such a way so that if lesser amount of free space is
available than desired space, then thin pool can be grown by smaller
amount of free space.

For example, say I have a thin pool of size 50G, and pool grows by 20%,
then 10GB free space is required in volume group. But if only 8GB free space
is availabe, pool should still grow by 8GB instead of failing to grow.
Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:

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