Bug 754857

Summary: anaconda doesn't check if there is enough free disk space
Product: [Fedora] Fedora Reporter: Christoph Wickert <christoph.wickert>
Component: anacondaAssignee: Brian Lane <bcl>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: anaconda-maint-list, jonathan, mrunge, robatino, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-03 18:32:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 752649    

Description Christoph Wickert 2011-11-17 22:24:45 UTC
Description of problem:
anaconda doesn't check if there is enough free disk space at the beginning of the install bug fails with an error later.

Version-Release number of selected component (if applicable):
anaconca-16.25-1.fc16

How reproducible:
always

Steps to Reproduce:
1. Try to install Fedora-16-x86_64-Live-Desktop.iso on a 6 GB HD (e.g. in KVM or Virtual box). The machine has 1 GB RAM, so the default / will be 4 GB

Actual results:
Install fails when progressbar is at ~95%:
"There was an error installing the live image to your hard drive. This could be due to bad media. Please verify your installation media.

If you exit, your system will be left in an inconsistent state that will require reinstallation."

Expected results:
Should either install or warn at the beginning of the install.

Additional info:
When anaconda stops only 58% of / are used and 1.7 GB are still free. With 8 GB HD or 6 GB / everything is fine.

Comment 1 Matthias Runge 2012-04-03 06:54:12 UTC
Still valid for upgrade from f16 to f17. In this case this is more evil, because usr-move is executed, then the installer drops out, leaving system in inconsistent state.

Version from f17 beta-rc2, I had about 2.2 GB free space on /, no own /usr partition.

Comment 2 Brian Lane 2012-04-03 18:32:35 UTC
This is no longer a problem in F17. I've tested it with 4, 6 and 8G drives and it complains on 4 and 6 and installs on 8.

Matthias, could you open a new bug about the upgrade with as much detail as possible? source media, how you wrote it to the media, size of partitions and logs from /tmp/*log attached as individual plain/text files.