From owner-freebsd-questions@FreeBSD.ORG Thu Mar 18 03:03:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66DF0106564A for ; Thu, 18 Mar 2010 03:03:06 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id CA1EE8FC13 for ; Thu, 18 Mar 2010 03:03:05 +0000 (UTC) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id BAE30EB47F8; Thu, 18 Mar 2010 05:03:04 +0200 (EET) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 990D7160CD7; Thu, 18 Mar 2010 05:03:04 +0200 (EET) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sAAX1sfHWvWo; Thu, 18 Mar 2010 05:03:04 +0200 (EET) Received: from kobe.laptop (ppp-94-64-193-166.home.otenet.gr [94.64.193.166]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 57033160CD6; Thu, 18 Mar 2010 05:03:04 +0200 (EET) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o2I333ov017944 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Mar 2010 05:03:03 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o2I333nY017941; Thu, 18 Mar 2010 05:03:03 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Bill Tillman References: <521093.11031.qm@web36505.mail.mud.yahoo.com> Date: Thu, 18 Mar 2010 05:03:03 +0200 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)") Message-ID: <87pr32fi1k.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: make buildworld runs out of space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2010 03:03:06 -0000 On Wed, 17 Mar 2010 17:38:06 -0700 (PDT), Bill Tillman 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 :-)