Root partition size too small for FreeBSD 10.1?

Michael Ross gmx at ross.cx
Sat Jan 24 18:00:45 UTC 2015


On Sat, 24 Jan 2015 18:04:32 +0100, Robert Fitzpatrick  
<robert at 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


More information about the freebsd-questions mailing list