From owner-freebsd-questions@FreeBSD.ORG Sun Jun 10 00:43:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AE0D5106564A for ; Sun, 10 Jun 2012 00:43:32 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-qa0-f49.google.com (mail-qa0-f49.google.com [209.85.216.49]) by mx1.freebsd.org (Postfix) with ESMTP id 649798FC12 for ; Sun, 10 Jun 2012 00:43:32 +0000 (UTC) Received: by qabj40 with SMTP id j40so1722216qab.15 for ; Sat, 09 Jun 2012 17:43:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=wgGJoLk62PIwspfqysJt3I5NU8qjLwxbbtGZnWYwZx8=; b=miW5945rE9H6WKsgQJX8uVQNYhQDHTS1U/gxUq4IGEc3dzlBKG3drV9DK2yI/B4X0k WL2feMdWNDDXYmG+W9pVPQB4VRtv0S6X/TzVJo96Ur2oNnMEJxgGJ2yKs54mBrsZ+Evy nw1xvYes3XdBlV2IdSL+8+vydgIN/wAHrZnJ6uMLnmYS8YO5G2kTPrBga83/y95S7L60 us6gvXhNs3jB68ygHIlPqDrYLnMsM1sbJn8JOkBFwz4ZA/ab0JCJc70Cy31QbRE2SUsm 5tdlDuegMa3ZZRbyajKCK3ZrblpZ9DsktOhMQbueZ+xGRD8hZFwVgIGnx6bHusZHPxvt m+2Q== MIME-Version: 1.0 Received: by 10.224.205.194 with SMTP id fr2mr5423682qab.66.1339289005865; Sat, 09 Jun 2012 17:43:25 -0700 (PDT) Received: by 10.229.225.71 with HTTP; Sat, 9 Jun 2012 17:43:25 -0700 (PDT) In-Reply-To: <20120609233827.497b2ca4@gumby.homeunix.com> References: <4FD34E2A.7060700@dreamchaser.org> <20120609233827.497b2ca4@gumby.homeunix.com> Date: Sat, 9 Jun 2012 20:43:25 -0400 Message-ID: From: "illoai@gmail.com" To: RW Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: ran out of inodes on /var, recommended value? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2012 00:43:32 -0000 On 9 June 2012 18:38, RW wrote: > On Sat, 09 Jun 2012 07:22:50 -0600 > Gary Aitken wrote: > >> I reconfigured my ssd filesystem with the /var partition of size >> 512M. =A0Unfortunately, something in portsnap or the ports tree in >> general uses a boatload of small files, and i ran out of inodes. =A0Can >> anyone recommend an appropriate size for the newfs -i value? =A01024? >> less? > > portsnap needs roughly one file per port plus one for each > out of date port during a fetch. There are 23658 ports. > > In FreeBSD 9 the fragment size increased, halving the default number of > inodes. With only 32k inodes it's possible to run out with portsnap > alone. You can probably get away with the old default of 64k (-i > 8192), or perhaps 128k (-i 4096). Check how many files you have outside > of portsnap and do the arithmetic. > Or, move the portsnap tree to somewhere other than /var (see /etc/portsnap.conf for that & such). I think that a file-backed md* mounted only when portsnap was in use would save on inodes, yeah? *I guess mdmfs(8) is the jawns y'all use nowadays, yo? --=20 --