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 "OK". Result on the command line: Insufficient free extents (92782) in volume group VG1: 92783 required Version-Release number of selected component (if applicable): How reproducible: 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 3. Actual results: LV not created, "Insufficient free extents (17151) in volume group VG2: 17152 required" Expected results: LV created. Additional info:
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.