Red Hat Bugzilla – Bug 138006
LV creation, use remaining space in GB: rounding error failures
Last modified: 2009-04-16 19:10:42 EDT
Description of problem:
Create a VG and then create a new LV on it. Change type dropdown to
"Gigabytes" and click "Use Remaining Space". Give it a Name and click
Result on the command line:
Insufficient free extents (92782) in volume group VG1: 92783 required
Version-Release number of selected component (if applicable):
Depending on the size of your VG, %100. You may get lucky and the
rounding will not cause a problem.
Steps to Reproduce:
1. Create LV on VG
2. Use Remaining Space in Gigabytes
LV not created, "Insufficient free extents (17151) in volume group
VG2: 17152 required"
This is fixed in the upcoming 0.9.9-1.0 build. Now if the user wishes
to use all remaining space on the VG for a new LV, clicking the 'use
remaining space' button stores the extents available, and passes the
discrete number of extents left to the lvcreate command. Yes, the case
where a user clicks the button, then edits the Size field before
clicking OK is covered! :-)
Verified in system-config-lvm-0.9.9-1.0.