Bug 213882
Summary: | Not calculating space for partitions properly when reusing existing partitions | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Orion Poplawski <orion> | ||||
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 9 | CC: | triage | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | bzcl34nup | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-04-17 20:08:49 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: | 472555 | ||||||
Attachments: |
|
Description
Orion Poplawski
2006-11-03 16:41:26 UTC
Created attachment 140270 [details]
anaconda log
Full error is: Could not allocate requested partitions Not enough space left to create partition for /var Removing the --grow option on the / partition allows the install to proceed, but it should work with that option. Is this any better with the Fedora 7 test releases? Does seem better. Managed to allocate new partitions when there were two chunks of open space even. Perhaps spoke too soon. Here's a case: Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 608 4883440 b W95 FAT32 Partition 1 does not end on cylinder boundary. /dev/sda2 609 621 104422+ 83 Linux /dev/sda3 622 4445 30716280 83 Linux /dev/sda4 4446 7296 22900657+ 5 Extended /dev/sda5 5211 5464 2040223+ 82 Linux swap / Solaris /dev/sda6 5530 6294 6144831 83 Linux /dev/sda7 6295 6359 522081 83 Linux There is space in two chunk 4446-5210 -> 6000MB 6360-7296 -> 7350MB This-> part /boot --onpart=sda2 --noformat part / --fstype ext3 --size=6500 --grow part /var --fstype ext3 --size=512 part swap --onpart=sda5 part /export --onpart=sda3 --noformat bootloader --location=mbr Results in "not enough space to allocate /". Without "--grow" works. It seems like --grow should have no effect - i.e. layout the partitions with the space requested, then grow to consume free space. Interestingly, it worked with: part / --fstype ext3 --size=5000 --grow which is why I closed the bug yesterday. With / 6500 (no grow) and /var 512 it creates: / sda8 6360->7188 /var sda9 4446->4510 seems like --grow should just have it create / sda8 6360->7296. Based on the date this bug was created, it appears to have been reported against rawhide during the development of a Fedora release that is no longer maintained. In order to refocus our efforts as a project we are flagging all of the open bugs for releases which are no longer maintained. If this bug remains in NEEDINFO thirty (30) days from now, we will automatically close it. If you can reproduce this bug in a maintained Fedora version (7, 8, or rawhide), please change this bug to the respective version and change the status to ASSIGNED. (If you're unable to change the bug's version or status, add a comment to the bug and someone will change it for you.) Thanks for your help, and we apologize again that we haven't handled these issues to this point. The process we're following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp We will be following the process here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this doesn't happen again. Still a problem when using --grow, even with a very straight forward layout with extra space at the end of the disk. Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping As you know, we've now gotten the massive storage rewrite in for F11 beta. Is this any better with that release? If not, we probably stand a much better chance of getting it fixed there. Tested with: part /boot --onpart=sda2 --noformat part / --fstype ext4 --size=9000 --grow part /var --fstype ext4 --size=512 part swap --onpart=sda6 part /export --onpart=sda3 --noformat and space at end of disk. Worked. I'm going to call this fixed. |