misc/144981: Upgrading FreeBSD 8.0-RELEASE to 8.0-STABLE: filesystem is full

Thomas Schmitt scdbackup at gmx.net
Tue Mar 23 17:40:02 UTC 2010


>Number:         144981
>Category:       misc
>Synopsis:       Upgrading FreeBSD 8.0-RELEASE to 8.0-STABLE: filesystem is full
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 23 17:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>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 at 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 at 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:
>Unformatted:


More information about the freebsd-bugs mailing list