Default inode number too low in FFS nowadays?

Matt Connor bsd at xerq.net
Thu Nov 3 20:10:44 UTC 2011



On Nov 3, 2011, at 5:43 AM, Ivan Voras <ivoras at freebsd.org> wrote:

> On 02/11/2011 12:57, Borja Marcos wrote:
>> 
>> Hi
>> 
>> Today I´ve come across an issue long ago forgotten :) Running out of i-nodes.
> 
> Actually, nowadays I mostly *reduce* the number of inodes rather than
> increasing it, since I often have large files and want to reduce fsck
> time (but that's a corner case).
> 
>> Looking at the number of i-nodes per /usr subdirectory, I have noticed that, wow! /usr/ports consumes A LOT of them. 
>> 
>> freebsd9-borja#    find . -print | wc -l
>>  405481
> 
> Did you forget to do "make clean" after "make install" on several large
> ports?
> 
> But yes, the ports tree is getting a bit unwieldy. On the other hand,
> did you fsck the file system lately?
> 
> 

cd /usr/ports/ports-mgmt/portupgrade && make install clean

portsclean -CD

That's a quick way to clean out all the clutter.

-Matt


More information about the freebsd-fs mailing list