Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jan 2015 18:30:58 +0100
From:      "Michael Ross" <gmx@ross.cx>
To:        FreeBSD <freebsd-questions@freebsd.org>, "Robert Fitzpatrick" <robert@webtent.org>
Subject:   Re: Root partition size too small for FreeBSD 10.1?
Message-ID:  <op.xsy9lwsig7njmm@michael-think.fritz.box>
In-Reply-To: <54C3D0A0.1000500@webtent.org>
References:  <54C3D0A0.1000500@webtent.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sat, 24 Jan 2015 18:04:32 +0100, Robert Fitzpatrick  
<robert@webtent.org> wrote:

> I have a server I tried to upgrade to 10.1-RELEASE and it gave me out of  
> disk space errors when it came time at the end to making changes to  
> /boot/kernel. I reverted the snapshot taken on this VPS back to 8.4 for  
> now. The root partition is 85% used of a 500MB, and since more than half  
> the used space is in /boot/kernel, I think its the new kernel size that  
> is the issue and the root partition will have to grow? If that is the  
> case, I would have to make some room....
>

Deleting all kernel debugging symbols:

	find /boot -name "*.symbols" | xargs rm

and (optionally) building your new kernel without the config line

	makeoptions DEBUG=-g

should also do it:

> find /boot -name "*.symbols" | xargs rm
> du -h /boot/
4,0K    /boot/zfs
4,0K    /boot/firmware
  85M    /boot/kernel
  28K    /boot/defaults
4,0K    /boot/dtb
4,0K    /boot/modules
  85M    /boot/kernel.old
173M    /boot/


Michael



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?op.xsy9lwsig7njmm>