From owner-freebsd-fs@FreeBSD.ORG Thu Nov 3 12:50:12 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8445C1065679 for ; Thu, 3 Nov 2011 12:50:12 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3DB0D8FC16 for ; Thu, 3 Nov 2011 12:50:12 +0000 (UTC) Received: by vcbfo14 with SMTP id fo14so181779vcb.13 for ; Thu, 03 Nov 2011 05:50:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=M1LGmtrqng6fBHw9SXpjb35cxZv/MW3wRkdw28fpSNI=; b=ksGRD8z24oUUThcI8UbrMkFZo58TWXcvjzzN9d7jKF8hIQmoQCRmNwxiCPEnRaG4Wf OBC1dvyx/ppTz8yKlsY+wZRm3AEQb1pTRUlTrCt4ST+RZtOr6b7ZCN9+4o0GzFlA2yoI 2tDCUmpagufZr4BTiHxgvB+6lMnt8N3hOD5Zw= MIME-Version: 1.0 Received: by 10.52.174.115 with SMTP id br19mr9381062vdc.130.1320324611575; Thu, 03 Nov 2011 05:50:11 -0700 (PDT) Received: by 10.52.182.40 with HTTP; Thu, 3 Nov 2011 05:50:11 -0700 (PDT) In-Reply-To: References: Date: Thu, 3 Nov 2011 12:50:11 +0000 Message-ID: From: Tom Evans Cc: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Default inode number too low in FFS nowadays? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2011 12:50:12 -0000 On Thu, Nov 3, 2011 at 12:43 PM, Ivan Voras 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