out of i-nodes?
Bill Moran
wmoran at potentialtech.com
Sun Oct 10 13:44:37 PDT 2004
Don't wrap machine generated output, it makes your email a PITA to decipher.
Rishi Chopra <idfubar at 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 at 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 at 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 at 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
More information about the freebsd-questions
mailing list