Bug 865199 - Free space calculation in custom partitioning goes wonky when changing the size of a partition set to LVM
Summary: Free space calculation in custom partitioning goes wonky when changing the si...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-11 01:52 UTC by Adam Williamson
Modified: 2012-11-23 04:36 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-23 04:36:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
storage.log from the session where I messed around with this (462.26 KB, text/plain)
2012-10-11 01:56 UTC, Adam Williamson
no flags Details

Description Adam Williamson 2012-10-11 01:52:26 UTC
To reproduce, do something like this:

Boot F18 Beta TC3 DVD
Go into custom partitioning
Clear out all existing partitions, so all space is free
Create a 500MB /boot partition
Create a / partition of any size, say you have 14GB free, create a / partition size 8GB. Now you're showing approx 6GB 'available space'
Change the / partition's Device Type to LVM, hit Apply Changes
Now, reduce the size of the partition - say, to 5GB - and hit 'Apply Changes' again

The available space calculation goes wonky. It doesn't go up to 9GB, it goes *down* to 3GB. You can keep playing around with the size of the partition, and the 'available space' calculation will keep changing, sometimes up, usually down, but it'll rarely or never actually be correct. I have a VM open right now and I'm twiddling with this, right now it's showing a 15GB disk with a /boot partition of 500MB and a root partition of 1GB, and 5.49GB of 'free space'.

(Oh, and it actually says Gb, not GB. This is completely wrong. Gb is gigabits. It should be GB or GiB, but not Gb.)

Comment 1 Adam Williamson 2012-10-11 01:56:44 UTC
Created attachment 625302 [details]
storage.log from the session where I messed around with this

Comment 3 Fedora Update System 2012-11-02 04:04:14 UTC
anaconda-18.23-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.23-1.fc18

Comment 4 Fedora Update System 2012-11-02 18:38:40 UTC
Package anaconda-18.23-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-18.23-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-17509/anaconda-18.23-1.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-11-03 01:03:36 UTC
anaconda-18.24-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.24-1.fc18

Comment 6 Fedora Update System 2012-11-03 19:28:13 UTC
Package anaconda-18.24-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-18.24-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-17543/anaconda-18.24-1.fc18
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2012-11-06 01:38:47 UTC
anaconda-18.25-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.25-1.fc18

Comment 8 Fedora Update System 2012-11-07 02:10:44 UTC
anaconda-18.26-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.26-1.fc18

Comment 9 Adam Williamson 2012-11-23 04:36:42 UTC
This is definitely improved in current builds, I will file any other wonkiness I notice separately.


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