Bug 586622 - Unable to install to md / (not enough free space)
Summary: Unable to install to md / (not enough free space)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F13Blocker, F13FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2010-04-28 01:14 UTC by Jesse Keating
Modified: 2013-01-10 03:33 UTC (History)
6 users (show)

Fixed In Version: anaconda-13.40-1.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-06 01:31:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jesse Keating 2010-04-28 01:14:46 UTC
I setup a system with two drives as thus:

/dev/sda1 - /boot - 500meg - ext4
/dev/sda2 - mdraid - rest of disk
/dev/sdb1 - mdraid - rest of disk

/dev/md0 - raid0 - 64G - /dev/sda2 /dev/sdb1

things partition and progress, mount shows them mounted correctly however after software select I'm told that my package set requires 625MB of free space, but you don't have this much free.  Go back, or exit.

Something is wrong here.  I used the branched images from 20100427

Comment 1 Hans de Goede 2010-04-28 09:26:54 UTC
Hi,

I just tried to reproduce this, using a local mirror of
fedora/development/13/i386/os

And I cannot reproduce this. Please try again and when it fails again, attach all files with names ending in log under /tmp.

Regards,

Hans

p.s.

Please always attach log files when filing an anaconda bug, this saves both us and you (no need to reproduce just to get the log files) time, thanks!

Comment 2 Jesse Keating 2010-04-28 15:14:51 UTC
Re-assigning as directed on IRC.

Comment 3 Hans de Goede 2010-04-29 08:11:57 UTC
This is fixed in anaconda-13.40-1 .

Comment 4 Adam Williamson 2010-05-03 20:56:10 UTC
seems like Bugzilla missed a chunk of this story; what turned out to be the trigger?

Jesse, you are the one who has the power to get a build with 13.40 to test  this =) Could be done from a live image, I suppose.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 5 Jesse Keating 2010-05-03 22:47:47 UTC
This was triggered by having existing md raids that were deleted and re-created.  That confused anaconda.  I'll re-try and confirm it fixed, when there is a build.

Comment 6 Hans de Goede 2010-05-04 07:39:26 UTC
To reproduce do the following:
1) Do a custom partitioning install with 1 small (500 MB) mdraid set (so it
   will become md0)
2) Do a new install on the same system, removing the small mdraid set and
   make a new large mdraid set, again use only 1 mdraid set, use this set for /
3) Boom

The problem is that libparted has a device cache and remembers the size of the old
small md0 (which has been destroyed, and then a new bigger md0 created). So we think we don't have enough free disk space.

This is fixed by this commit:
http://git.fedorahosted.org/git/?p=anaconda.git;a=commitdiff;h=4c3a114f07962ff34732b4b303865788babe48ca

And I've verified the fix using the above reproduction method.

Comment 7 Adam Williamson 2010-05-04 12:43:48 UTC
This is an F13 blocker per our 'should be able to handle any possible partition setup' criterion; can you push the fix to the f13 branch? Thanks.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 8 Hans de Goede 2010-05-04 13:24:13 UTC
(In reply to comment #7)
> This is an F13 blocker per our 'should be able to handle any possible partition
> setup' criterion; can you push the fix to the f13 branch? Thanks.
> 

As the fixed in version field, and the modified status hint at, the fix is already in f13-branch, I guess I should have added a comment to that extend as well, so here you go :)

Comment 9 Adam Williamson 2010-05-04 16:21:50 UTC
oh, sorry, I checked the 13 branch but somehow didn't see the commit, I think I didn't look far enough back.

MODIFIED isn't enough, there have unfortunately been several cases this cycle where anaconda team has set bugs filed against 13 to MODIFIED after committing the fix only to Rawhide; I've been chasing those yesterday...

Comment 10 Fedora Update System 2010-05-05 05:15:54 UTC
anaconda-13.40-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/anaconda-13.40-1.fc13

Comment 11 Fedora Update System 2010-05-05 07:22:25 UTC
anaconda-13.40-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update anaconda'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/anaconda-13.40-1.fc13

Comment 12 Adam Williamson 2010-05-05 16:58:25 UTC
We should now be able to confirm that this bug is fixed using the images here:

http://alt.fedoraproject.org/pub/alt/stage/13.0505/Fedora/i386/os/images/

if we have not yet confirmed the fix, can anyone able to reproduce this bug please test with one of those images and check that the bug is fixed? Thanks.

Comment 13 Jesse Keating 2010-05-05 20:04:12 UTC
Verified that this works.

Comment 14 Adam Williamson 2010-05-06 01:31:05 UTC
let's close it, then.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 15 Fedora Update System 2010-05-06 06:54:29 UTC
anaconda-13.40-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


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