From owner-freebsd-questions@FreeBSD.ORG Sat Jun 9 16:40:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 989F1106564A for ; Sat, 9 Jun 2012 16:40:43 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4E83B8FC12 for ; Sat, 9 Jun 2012 16:40:43 +0000 (UTC) Received: by vcbfy7 with SMTP id fy7so1835977vcb.13 for ; Sat, 09 Jun 2012 09:40:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=wG3JOSENS+3kIgkdu6V/sOKd0dpvnVfc72pfLxl7Daw=; b=KbhePiwLAN2SXm7MMRTE83vlSyH2e6URFPo++E7d+No/vB1hnY8NgTjsGxsbVeR8jI GBqGhhHY2bpDy7kXik+94C4FX6uNgorfEjo2AWffbUSYQhM/PZIjd6Tyv9AyhFXN3HJh JHC6dw5H0b5Sa0ggSQ6VE8KmaNWrxWTHl1JFoXs42YmV1BeHLmVQkVPmjvIkLNICmXMg mt2r/1m5DmssyYA0jh4+mvufVf+JR2GyU/Fq4j6oOFeY7rnt20YA8Gx+kb8GWxIUQ1lW Efk91m0sUoCEDyRD3vpomtVWz1/NDEgq7bFMDach1BPzKTVDAHtVqS+muW/Bg8u5cww5 KWnA== MIME-Version: 1.0 Received: by 10.52.72.99 with SMTP id c3mr410970vdv.54.1339260042524; Sat, 09 Jun 2012 09:40:42 -0700 (PDT) Received: by 10.52.106.166 with HTTP; Sat, 9 Jun 2012 09:40:42 -0700 (PDT) In-Reply-To: <4FD34E2A.7060700@dreamchaser.org> References: <4FD34E2A.7060700@dreamchaser.org> Date: Sat, 9 Jun 2012 09:40:42 -0700 Message-ID: From: Michael Sierchio To: freebsd@dreamchaser.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlGwj7pGhnKKZu0i/fMGwzSQodIF1IQ9WJAONy3hLziZgdN5BUJRTr6TrWpDsKT93T5/uHc Cc: FreeBSD Mailing List 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: Sat, 09 Jun 2012 16:40:43 -0000 On Sat, Jun 9, 2012 at 6:22 AM, 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? =A0less? You may find this solution cheesy, but it works. I found the problem to be /var/db, and ran into it when doing a pkg_add -r for a package with a lot of dependencies. Some things - like freebsd-update - are configurable to use a different dir without this nonsense. - M pvpn 206> ls -l /var/db total 228 ---------- 1 root wheel 990 May 11 03:03 dhclient.leases.vr0 drwx------ 2 operator operator 512 Jun 9 16:33 entropy lrwxr-xr-x 1 root wheel 37 May 11 02:32 freebsd-update -> ../../usr/local/var/db/freebsd-update drwx------ 2 root wheel 512 Apr 9 21:10 ipf -r--r--r-- 1 nobody wheel 183727 Jun 9 04:15 locate.database -rw------- 1 root wheel 40790 May 16 20:05 mergemaster.mtree lrwxr-xr-x 1 root wheel 26 May 11 02:32 pkg -> ../../usr/local/var/db/pkg lrwxr-xr-x 1 root wheel 28 May 11 02:32 ports -> ../../usr/local/var/db/ports lrwxr-xr-x 1 root wheel 31 May 11 02:32 portsnap -> ../../usr/local/var/db/portsnap drwx------ 3 root wheel 512 May 21 20:54 sudo