freebsd-update not checking disk space?

René Ladan rene at freebsd.org
Tue Oct 25 07:52:19 UTC 2011


Hi,

I tried to upgrade a server at work from 8.2-RELEASE-i386 to 9.0-RC1-i386
using freebsd-update.When running 'freebsd-update install' to install the new
kernel, but that failed because there was insufficient disk space. This resulted
in freebsd-update thinking everything is ok but left the kernel unbootable.

>From the screen capture:
> 10G# freebsd-update install
> Installing updates...
> /: write failed, filesystem is full
> install: ///boot/kernel/INS at SmmC: No space left on device
> install: ///boot/kernel/INS at lMJN: No space left on device
> install: ///boot/kernel/INS at ez1L: No space left on device
> install: ///boot/kernel/INS at D78d: No space left on device
[... more patch files ..]
> install: ///boot/kernel/ng_bt3c.ko.symbols: No space left on device
> install: ///boot/kernel/ng_btsocket.ko: No space left on device
[.. more destination files ..]
These two types of messages are interleaved.

It ends with:
> install: ///boot/INS at yqYd: No space left on device
> rmdir: ///boot/kernel: Directory not empty
>
> Kernel updates have been installed.  Please reboot and run
> "/usr/sbin/freebsd-update install" again to finish installing updates.
> 10G# df
> Filesystem  1K-blocks    Used     Avail Capacity  Mounted on
> /dev/ad0s1a    507630  502860    -35840   108%    /

So in reality the update never finished properly.

More logs on request.

Regards,
René
--
http://www.rene-ladan.nl/

GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6
(subkeys.pgp.net)


More information about the freebsd-current mailing list