Bug 534055 - The default disk layout is not sufficient for preupgrade
Summary: The default disk layout is not sufficient for preupgrade
Keywords:
Status: CLOSED DUPLICATE of bug 530541
Alias: None
Product: Fedora
Classification: Fedora
Component: preupgrade
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 533748 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-10 11:44 UTC by Kamil Páral
Modified: 2014-01-21 23:12 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-11 00:01:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
error message (76.48 KB, image/png)
2009-11-10 11:44 UTC, Kamil Páral
no flags Details
logs (170.00 KB, application/x-tar)
2009-11-10 11:44 UTC, Kamil Páral
no flags Details
f10-rawhide (81.62 KB, image/png)
2009-11-10 12:21 UTC, Liam Li
no flags Details
logs (230.00 KB, application/x-tar)
2009-11-10 12:24 UTC, Liam Li
no flags Details

Description Kamil Páral 2009-11-10 11:44:09 UTC
Created attachment 368370 [details]
error message

Description of problem:
The default disk layout is 200MB for /boot and rest for LVM containing / and swap. I have installed F11 with accepting all the defaults. When I tried to preupgrade, I received a message there is not enough space on the /boot partition (see error.png). The disk layout should be proposed in such a way that preupgrade works with default values.

I was preupgrading from Fedora 11 to Rawhide (soon to be released as F12).

Version-Release number of selected component (if applicable):
anaconda 12.46
preupgrade-1.1.2-1.fc11.noarch

How reproducible:
tried once
 
Actual results:
not possible to do preupgrade with default F11 install

Expected results:
possible to do preupgrade with default F11 install

Comment 1 Kamil Páral 2009-11-10 11:44:29 UTC
Created attachment 368371 [details]
logs

Comment 2 Kamil Páral 2009-11-10 11:55:39 UTC
Adding CC to jlaska, because I believe he hit this issue too.

Comment 3 Liam Li 2009-11-10 12:19:02 UTC
preupgrade from f10 to rawhide has the same issue. please see below about the pic and logs.

Comment 4 Liam Li 2009-11-10 12:21:06 UTC
Created attachment 368378 [details]
f10-rawhide 

this is the error message preupgrade from f10 to rawhide

Comment 5 Liam Li 2009-11-10 12:24:41 UTC
Created attachment 368379 [details]
logs

logs of preupgrade, the out message is insufficient disk space,but actually my system has a 160G disk and only installed a f10

Comment 6 Radek Vykydal 2009-11-10 13:22:08 UTC
*** Bug 533748 has been marked as a duplicate of this bug. ***

Comment 7 Chris Lumens 2009-11-10 14:14:58 UTC
I have increased the /boot size in rawhide to 250 MB which should once again hold us for a little while.  However, keep in mind that anaconda in the past doesn't know how much preupgrade in the future is going to require, so there's always the possibility of hitting this issue from time to time.  I suggest that if you have a bunch of kernel packages installed, you try removing one or two you no longer need to make some room.

Comment 8 James Laska 2009-11-10 14:25:59 UTC
Chris, I'd like to leave this open if possible for now.  I don't think there's anything we can do for F-11 anaconda at this point.  But if this is an issue we are now seeing during all preupgrade testing, we may need to come up with a strategy to mitigate this issue for F-11 -> F-12 preupgraders.

As you note above, it very well may just be the number of kernels installed.  I'm going to assign this to F-11/preupgrade for now.

Comment 9 James Laska 2009-11-10 15:17:20 UTC
After an autopart+default F-11 install then upgrade to latest F-11 updates, /boot contains 163M of free space.  This includes 2 kernels (F-11-GOLD and latest kernel in updates).

# df -Thl | grep boot
/dev/vda1     ext3    194M   22M  163M  12% /boot

# The F-12-RC4 kernel, ramdisk and install.img are about ~144M.  
  117M install.img
   22M images/pxeboot/initrd.img
  3.3M images/pxeboot/vmlinuz

This leaves about 20M of room for the F-12 kernel+ramdisk.  Is that enough?  I gather not.

Comment 10 Kamil Páral 2009-11-10 15:35:25 UTC
Maybe we could mark this as CommonBugs and mention it on the wiki/release notes? It is possible many users will hit this.

Comment 11 James Laska 2009-11-10 15:41:01 UTC
Wwoods directed me to bug#530541 which may be the same issue.

I discovered that prior to rebooting into the preupgrade-prepared anaconda
environment, I had 2 kernels installed.

This left 19M of free space in /boot.  I removed the older kernel and there is
now 27M of free space.  This was sufficient to proceed with a
preupgrade-prepared anaconda upgrade.

Comment 12 James Laska 2009-11-10 16:09:39 UTC
The right mix to free up just enough space was ...

For F-11+updates/i386 install
 * Remove all but the running kernel

For F-11+updates/x86_64:
 * Remove all but running kernel
 * Free up more space: rm -rf /boot/efi

Comment 13 James Laska 2009-11-11 00:01:48 UTC

*** This bug has been marked as a duplicate of bug 530541 ***


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