freebsd-update not checking disk space?

2011-10-25 Thread René Ladan
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@SmmC: No space left on device
 install: ///boot/kernel/INS@lMJN: No space left on device
 install: ///boot/kernel/INS@ez1L: No space left on device
 install: ///boot/kernel/INS@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@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-blocksUsed Avail Capacity  Mounted on
 /dev/ad0s1a507630  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)
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: freebsd-update not checking disk space?

2011-10-25 Thread Colin Percival
On 10/25/11 00:52, René Ladan wrote:
 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.

Yes, this is a known issue in freebsd-update -- it needs to be much smarter
about detecting and handling errors.  Unfortunately I haven't had time to
deal with this (and it's a lot of work).

-- 
Colin Percival
Security Officer, FreeBSD | freebsd.org | The power to serve
Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org