From owner-freebsd-questions@FreeBSD.ORG Sun Oct 10 20:44:37 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 111CD16A4CE for ; Sun, 10 Oct 2004 20:44:37 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id D047043D2F for ; Sun, 10 Oct 2004 20:44:36 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from working.potentialtech.com (pa-plum-cmts1e-68-68-113-64.pittpa.adelphia.net [68.68.113.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by internet.potentialtech.com (Postfix) with ESMTP id 20B6269A39; Sun, 10 Oct 2004 16:44:36 -0400 (EDT) Date: Sun, 10 Oct 2004 16:44:35 -0400 From: Bill Moran To: rchopra@cal.berkeley.edu Message-Id: <20041010164435.3ccdd0e0.wmoran@potentialtech.com> In-Reply-To: <20041010203253.52625.qmail@web52108.mail.yahoo.com> References: <20041010203253.52625.qmail@web52108.mail.yahoo.com> Organization: Potential Technologies X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: questions@freebsd.org cc: idfubar@yahoo.com Subject: Re: out of i-nodes? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Oct 2004 20:44:37 -0000 Don't wrap machine generated output, it makes your email a PITA to decipher. Rishi Chopra wrote: > When attempting to build a custom kernel, I ran into > the following error message: > > /usr: create/symlink failed, no inodes free > Assembler messages: > FATAL: can't create buffer.o: No space left on device > *** Error code 2 > > When I use 'df', I noticed something strange: > > [13:29:20][root@usha:/]$ df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0s1a 771M 36M 674M 5% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/ad0s1e 786M 606M 118M 84% /usr > /dev/ad0s1d 193M 92K 178M 0% /var > /dev/ad4s1 78G 55G 23G 71% /fat32/audio > /dev/ad4s2 108G 50G 58G 47% /fat32/video > [13:29:22][root@usha:/]$ df -i > Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on > /dev/ad0s1a 789518 36376 689982 5% 924 116834 1% / > devfs 1 1 0 100% 0 0 100% /dev > /dev/ad0s1e 805366 620498 120440 84% 117758 0 100% /usr > /dev/ad0s1d 198126 92 182184 0% 16 25838 0% /var > /dev/ad4s1 81903456 58047680 23855776 71% 0 0 100% /fat32/audio > /dev/ad4s2 113407296 52760448 60646848 47% 0 0 100% /fat32/video > [13:29:24][root@usha:/]$ > > How can I be out of inodes for my 800MB /usr > partition? I didn't modify anything from the standard > minimal installation and only installed the ports > tree, CVSUP, and /src/sys afterwards. 800M is a pretty small partition for /usr. The ports tree eats up a LOT of inodes, out of proportion to how much data space it uses. Your /usr partition is pretty close to full as it is on the data side. If that's all the space you have, you'll probably have to re-newfs /usr with a lower ration of bytes/inode. You could also pick through the ports tree and delete subtrees that you have no use for (such as the language-specific parts for languages you don't speak). -- Bill Moran Potential Technologies http://www.potentialtech.com