Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 2010 05:03:03 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Bill Tillman <btillman99@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: make buildworld runs out of space
Message-ID:  <87pr32fi1k.fsf@kobe.laptop>
In-Reply-To: <521093.11031.qm@web36505.mail.mud.yahoo.com> (Bill Tillman's message of "Wed, 17 Mar 2010 17:38:06 -0700 (PDT)")
References:  <521093.11031.qm@web36505.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 17 Mar 2010 17:38:06 -0700 (PDT), Bill Tillman <btillman99@yahoo.com> 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 :-)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87pr32fi1k.fsf>