Date: Thu, 3 Nov 2011 12:50:11 +0000 From: Tom Evans <tevans.uk@googlemail.com> Cc: freebsd-fs@freebsd.org Subject: Re: Default inode number too low in FFS nowadays? Message-ID: <CAFHbX1KBVTtzOdL%2B5VudJAtVQwkFavC1sKctc6S=faoCi9Z0KQ@mail.gmail.com> In-Reply-To: <j8u2af$chv$1@dough.gmane.org> References: <B888842A-7DB4-491B-93E3-A376745019F5@sarenet.es> <j8u2af$chv$1@dough.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 3, 2011 at 12:43 PM, Ivan Voras <ivoras@freebsd.org> wrote: > On 02/11/2011 12:57, Borja Marcos wrote: >> >> Hi >> >> Today I=C2=B4ve come across an issue long ago forgotten :) Running out o= f 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 t= hat, wow! /usr/ports consumes A LOT of them. >> >> freebsd9-borja# =C2=A0 =C2=A0 =C2=A0 find . -print | wc -l >> =C2=A0 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? > If building directly, you can put all this in one line: make all install clean or if reinstalling: make all deinstall reinstall clean Or you can just use portupgrade/portmaster - portupgrade certainly always cleans the work directories, I'm sure portmaster does as well. Cheers Tom
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFHbX1KBVTtzOdL%2B5VudJAtVQwkFavC1sKctc6S=faoCi9Z0KQ>