Bug 768772 - Partitioning step complains about lack of free space when disk contains 4 primary partitions
Summary: Partitioning step complains about lack of free space when disk contains 4 pri...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-18 19:09 UTC by Milan Bouchet-Valat
Modified: 2013-12-19 10:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-19 01:04:35 UTC
Type: ---


Attachments (Terms of Use)
screenshot showing "not enough free space on disks" when there are four primary partitions (55.95 KB, image/png)
2013-02-11 22:15 UTC, Steve Tyler
no flags Details
screenshot showing detailed gparted error message when there are four primary partitions (80.60 KB, image/png)
2013-02-11 22:17 UTC, Steve Tyler
no flags Details

Description Milan Bouchet-Valat 2011-12-18 19:09:48 UTC
If you try to install Fedora 16 to a hard disk with plenty of disk space, but 4 primary partitions, the partitioning step always fails saying there's not enough disk space. The error message is wrong, since the actual problem is that one partition has to be removed to create an extended partition.

This can be a common scenario, since some laptop manufacturers (HP in my case) ship their disks with 4 primary partitions (which is arguably silly). It would be good to report a correct error message, as I thought Anaconda was completely buggy until I discovered the real problem. (I had to remove one of the partitions, and it worked fine after that.)

Comment 1 Chris Lumens 2011-12-20 04:10:15 UTC
The error message isn't really wrong, depending on what partitioning method you chose.  If you chose autopart, there's not enough space.  You need to make some more space first.  If you chose to use free space, this is still the case.

Comment 2 Milan Bouchet-Valat 2011-12-20 10:15:27 UTC
(In reply to comment #1)
> You need to make some more space first.
Of course, what's what I had done. I had shrunk one of the partitions so that 400GB were free. It's just that 4 primary partitions existed next to this free space, so autopart failed.

The problem is also visible when doing manual partitioning: shrink one of the partitions to get these free 400GB, and try to create a new partition. You get an error message about lack of free space, while you actually just told the partitioning tool to free the required space. The tool itself is confused, since it suggests a default size for the new partition that corresponds to the free space, and yet fails when you click OK.

Comment 3 Fedora End Of Life 2013-01-16 22:20:31 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Steve Tyler 2013-02-11 22:15:10 UTC
Created attachment 696300 [details]
screenshot showing "not enough free space on disks" when there are four primary partitions

Reproduced with the F18 installer (anaconda-18.37.11-1.fc18).

When there are four primary partitions, yet there is plenty of free space, the F18 installer displays the misleading error message:
"not enough free space on disks".

Procedure:
1. $ qemu-img create f18-test-4.img 40G
2. Use gparted to create four 1000 MiB primary partitions formatted as ext4.
3. Boot the installer DVD and proceed to Manual Partitioning.
4. Expand New Fedora 18 Installation.
5. Click "Click here to create them automatically."

The installer displays this message: "not enough free space on disks".
Yet the installer reports that there is 36.95 GB available space.
See attached screenshot.

Tested with:
$ qemu-kvm -m 2048 -hda f18-test-1.img -hdb f18-test-4.img -cdrom ~/xfr/fedora/F18/Fedora-18-x86_64-DVD.iso -vga qxl -boot menu=on -usbdevice mouse

Comment 5 Steve Tyler 2013-02-11 22:17:51 UTC
Created attachment 696301 [details]
screenshot showing detailed gparted error message when there are four primary partitions

When gparted cannot create an extended partition, because there are four primary partitions, it displays this detailed error message.

Comment 6 Fedora End Of Life 2013-02-14 00:53:25 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 7 Milan Bouchet-Valat 2013-02-14 09:18:53 UTC
Still valid in F18 after Anaconda rewrite. See above to reproduce it with a VM.

Comment 8 Brian Lane 2013-05-06 23:58:06 UTC
Still a problem with F19, in addition it stops displaying the resize/custom dialog so there is no alternative but to reboot.

Comment 9 Brian Lane 2013-12-19 01:04:35 UTC
In F20 you can use the reclaim dialog to delete one of the partitions without it locking up so I think this is as good as it needs to be. I'm going to close this now, there isn't anything automatic we can do -- shrinking just changes the filesystem size -- we still cannot convert it to an extended partition without removing it.

Comment 10 Milan Bouchet-Valat 2013-12-19 10:27:52 UTC
A clear error message would help too. How are people supposed to understand that "not enough free space" means "cannot create a new partition"?


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