From nobody@FreeBSD.org  Tue Mar 23 17:36:01 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 83146106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 23 Mar 2010 17:36:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 719DC8FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 23 Mar 2010 17:36:01 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o2NHa0DN035700
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 23 Mar 2010 17:36:00 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o2NHa0VF035699;
	Tue, 23 Mar 2010 17:36:00 GMT
	(envelope-from nobody)
Message-Id: <201003231736.o2NHa0VF035699@www.freebsd.org>
Date: Tue, 23 Mar 2010 17:36:00 GMT
From: Thomas Schmitt <scdbackup@gmx.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Upgrading FreeBSD 8.0-RELEASE to 8.0-STABLE: filesystem is full
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         144981
>Category:       bin
>Synopsis:       Upgrading FreeBSD 8.0-RELEASE to 8.0-STABLE: filesystem is full
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    brucec
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 23 17:40:01 UTC 2010
>Closed-Date:    Fri Aug 13 15:31:58 UTC 2010
>Last-Modified:  Fri Aug 13 15:31:58 UTC 2010
>Originator:     Thomas Schmitt
>Release:        8.0-RELEASE
>Organization:
>Environment:
was:

FreeBSD freebsd1.local 8.0-RELEASE FreeBSD 8.0-RELEASE #0:
 Sat Nov 21 15:02:08 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GE
NERIC  amd64

is now:

FreeBSD freebsd1.local 8.0-STABLE FreeBSD 8.0-STABLE #0: Tue Mar 23 14:55:20 CET 2010     thomas@freebsd1.local:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Hi,

It seems that the automatic partition layout of
FreeBSD 8.0-RELEASE needs revision, so that two
/boot/kernel* fit into /boot.
  
I installed
  8.0-RELEASE-amd64-dvd1.iso.gz
with autopartioning of the slice, and cvsup'ed
RELENG_8 from
  cvsup.de.FreeBSD.org
Then i did
  cd /usr/src
  make clean
  make buildkernel -j4 KERNCONF=GENERIC
  make installkernel KERNCONF=GENERIC

make installkernel led to
  /: write failed, filesystem is full
  install: /boot/kernel/zfs.ko.symbols: No space left on device

It turns out that two directories occupy nearly
250 MB each:
  /boot/kernel
  /boot/kernel.old
I deleted some of the fattest files which i deem
unused on my system:
  /boot/kernel.old/zfs.ko.symbols
  /boot/kernel.old/xfs.ko.symbols
  /boot/kernel.old/wlan.ko.symbols

Then "make installkernel" succeeded.

The filesystems look now like
  Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
  /dev/ad4s1a    507630   479362   -12342   103%    /
  devfs               1        1        0   100%    /dev
  /dev/ad4s1f  41345676  2303474 35734548     6%    /usr
  /dev/ad4s1d   4925486     9952  4521496     0%    /var
  /dev/ad4s1e    507630       12   467008     0%    /tmp

So i should better remove some more files.
The new kernel boots.
Shall i remove /boot/kernel.old now ?


Have a nice day :)

Thomas

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:

From: Garrett Cooper <yanefbsd@gmail.com>
To: Thomas Schmitt <scdbackup@gmx.net>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: misc/144981: Upgrading FreeBSD 8.0-RELEASE to 8.0-STABLE: 
	filesystem is full
Date: Tue, 23 Mar 2010 10:44:15 -0700

 On Tue, Mar 23, 2010 at 10:36 AM, Thomas Schmitt <scdbackup@gmx.net> wrote:
 >
 >>Number: =A0 =A0 =A0 =A0 144981
 >>Category: =A0 =A0 =A0 misc
 >>Synopsis: =A0 =A0 =A0 Upgrading FreeBSD 8.0-RELEASE to 8.0-STABLE: filesy=
 stem is full
 >>Confidential: =A0 no
 >>Severity: =A0 =A0 =A0 non-critical
 >>Priority: =A0 =A0 =A0 medium
 >>Responsible: =A0 =A0freebsd-bugs
 >>State: =A0 =A0 =A0 =A0 =A0open
 >>Quarter:
 >>Keywords:
 >>Date-Required:
 >>Class: =A0 =A0 =A0 =A0 =A0change-request
 >>Submitter-Id: =A0 current-users
 >>Arrival-Date: =A0 Tue Mar 23 17:40:01 UTC 2010
 >>Closed-Date:
 >>Last-Modified:
 >>Originator: =A0 =A0 Thomas Schmitt
 >>Release: =A0 =A0 =A0 =A08.0-RELEASE
 >>Organization:
 >>Environment:
 > was:
 >
 > FreeBSD freebsd1.local 8.0-RELEASE FreeBSD 8.0-RELEASE #0:
 > =A0Sat Nov 21 15:02:08 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/s=
 rc/sys/GE
 > NERIC =A0amd64
 >
 > is now:
 >
 > FreeBSD freebsd1.local 8.0-STABLE FreeBSD 8.0-STABLE #0: Tue Mar 23 14:55=
 :20 CET 2010 =A0 =A0 thomas@freebsd1.local:/usr/obj/usr/src/sys/GENERIC =A0=
 amd64
 >>Description:
 > Hi,
 >
 > It seems that the automatic partition layout of
 > FreeBSD 8.0-RELEASE needs revision, so that two
 > /boot/kernel* fit into /boot.
 >
 > I installed
 > =A08.0-RELEASE-amd64-dvd1.iso.gz
 > with autopartioning of the slice, and cvsup'ed
 > RELENG_8 from
 > =A0cvsup.de.FreeBSD.org
 > Then i did
 > =A0cd /usr/src
 > =A0make clean
 > =A0make buildkernel -j4 KERNCONF=3DGENERIC
 > =A0make installkernel KERNCONF=3DGENERIC
 >
 > make installkernel led to
 > =A0/: write failed, filesystem is full
 > =A0install: /boot/kernel/zfs.ko.symbols: No space left on device
 >
 > It turns out that two directories occupy nearly
 > 250 MB each:
 > =A0/boot/kernel
 > =A0/boot/kernel.old
 > I deleted some of the fattest files which i deem
 > unused on my system:
 > =A0/boot/kernel.old/zfs.ko.symbols
 > =A0/boot/kernel.old/xfs.ko.symbols
 > =A0/boot/kernel.old/wlan.ko.symbols
 >
 > Then "make installkernel" succeeded.
 >
 > The filesystems look now like
 > =A0Filesystem =A01K-blocks =A0 =A0 Used =A0 =A0Avail Capacity =A0Mounted =
 on
 > =A0/dev/ad4s1a =A0 =A0507630 =A0 479362 =A0 -12342 =A0 103% =A0 =A0/
 > =A0devfs =A0 =A0 =A0 =A0 =A0 =A0 =A0 1 =A0 =A0 =A0 =A01 =A0 =A0 =A0 =A00 =
 =A0 100% =A0 =A0/dev
 > =A0/dev/ad4s1f =A041345676 =A02303474 35734548 =A0 =A0 6% =A0 =A0/usr
 > =A0/dev/ad4s1d =A0 4925486 =A0 =A0 9952 =A04521496 =A0 =A0 0% =A0 =A0/var
 > =A0/dev/ad4s1e =A0 =A0507630 =A0 =A0 =A0 12 =A0 467008 =A0 =A0 0% =A0 =A0=
 /tmp
 >
 > So i should better remove some more files.
 > The new kernel boots.
 > Shall i remove /boot/kernel.old now ?
 
 Hi Thomas,
     This question is best asked on questions@. It's not a bug...
 Thanks!
 -Garrett

From: "Thomas Schmitt" <scdbackup@gmx.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/144981: Upgrading FreeBSD 8.0-RELEASE to 8.0-STABLE: filesystem is full
Date: Tue, 23 Mar 2010 19:20:16 +0100

 Hi,
 
 > This question is best asked on questions@. It's not a bug...
 
 Actually it is not so much of a question but the
 report that 8.0-RELEASE is not prepared for an
 upgrade to 8.0-STABLE.
 
 I installed that release two days ago and did
 nearly no own adjustments on it. Isn't it
 intended that above commands lead to an upgrade
 without disk shortage ?
 
 
 Have a nice day :)
 
 Thomas
 

From: "Thomas Schmitt" <scdbackup@gmx.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/144981: Upgrading FreeBSD 8.0-RELEASE to 8.0-STABLE: filesystem is full
Date: Tue, 23 Mar 2010 20:18:16 +0100

 Hi,
 
 > The assumption being that you actually have enough disk space.
 
 Excuse my stubbornness, but i want to stress
 that it was the installer of 8-RELEASE which
 decided about the partitioning of the 50 GB
 slice, not me.
 100 MB more of ad4s1a would have avoided the
 upgrade problem.
 
 If this is not considered a flaw in that
 installer, then my report is indeed inappropriate
 and i apologize for the noise.
 
 
 Have a nice day :)
 
 Thomas
 
State-Changed-From-To: open->closed 
State-Changed-By: brucec 
State-Changed-When: Fri Aug 13 15:30:26 UTC 2010 
State-Changed-Why:  
This has now been fixed in 7-STABLE, 8-STABLE and head: sysinstall creates a 1GB 
root partition which is big enough to hold two kernels. 


Responsible-Changed-From-To: freebsd-bugs->brucec 
Responsible-Changed-By: brucec 
Responsible-Changed-When: Fri Aug 13 15:30:26 UTC 2010 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144981 
>Unformatted:
