Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Oct 2004 16:44:35 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        rchopra@cal.berkeley.edu
Cc:        idfubar@yahoo.com
Subject:   Re: out of i-nodes?
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>

next in thread | previous in thread | raw e-mail | index | archive | help

Don't wrap machine generated output, it makes your email a PITA to decipher.

Rishi Chopra <idfubar@yahoo.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041010164435.3ccdd0e0.wmoran>