make buildworld runs out of space

Giorgos Keramidas keramida at
Thu Mar 18 03:03:06 UTC 2010

On Wed, 17 Mar 2010 17:38:06 -0700 (PDT), Bill Tillman <btillman99 at> wrote:
> I have built two machines with 8.0-STABLE-201002-amd64. When I updated
> the sources and ran make buildworld process it would fail claiming
> that / was full.
> It seems to be running into the problem when the make installkernel
> portion of my script was running. Both machines were built using the
> default of 512M for /. I rebuilt the machines with 1G / and all was
> well. But one shouldn't have to do this as 512M for / should be
> adequate.

Yes it's adequate for *one* kernel.  But it's often too limited for a
couple of kernels (e.g. /boot/kernel.old and /boot/kernel).

My /boot has two kernels now, and they are build with debugging symbols
so they take a bit more space, but the following is a sample du run:

    $ du -hsx /boot/kernel* /boot
    136M    /boot/kernel
    136M    /boot/kernel.old
    273M    /boot

With 273 MB for kernels, there has to be adequate space for the *rest*
of the root filesystem files too.  With 512 MB you are very close to
having "just enough" space, but it's not certain if e.g. your /tmp
already contains a few dozen MB of temporary files.

As you found out, 1 GB of root filesystem space is ok for now :-)

More information about the freebsd-questions mailing list