From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 18 11:41:53 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31E5B1065670 for ; Thu, 18 Feb 2010 11:41:53 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id E00948FC08 for ; Thu, 18 Feb 2010 11:41:52 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ni4lT-0000jl-Lz for freebsd-hackers@freebsd.org; Thu, 18 Feb 2010 12:41:51 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Feb 2010 12:41:51 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Feb 2010 12:41:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org From: Ivan Voras Date: Thu, 18 Feb 2010 12:41:37 +0100 Lines: 27 Message-ID: References: <0AC6C93D50BE19A97047BAE3@HPQuadro64.dmpriest.net.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.23 (X11/20090817) In-Reply-To: <0AC6C93D50BE19A97047BAE3@HPQuadro64.dmpriest.net.uk> Sender: news Subject: Re: ZFS'inodes' (as reported by 'df -i') running out? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2010 11:41:53 -0000 Karl Pielorz wrote: > > Hi All, > > I originally posted this in freebsd-fs - but didn't get a reply... I > have a number of systems (mostly 7.2-S/amd64) running ZFS. Some of these > handle millions of files. > > I've noticed recently, according to "df -i" I'm starting to run out of > inodes on some of them (96% used). > > e.g. > > " > Filesystem iused ifree %iused Mounted on > vol/imap 1726396 69976 96% /vol/imap > " > > > I know ZFS doesn't have inodes (think they're znodes), and is capable of > handling more files than you can probably sensibly think about on a > filesystem - but is "df -i" just getting confused, or do I need to be > concerned? AFAIK ZFS allocates inodes when needed so df -i reports the previously allocated value. The number of available inodes should automatically grow as you add more files.