From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 18 12:04:48 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 B2338106566B; Thu, 18 Feb 2010 12:04:48 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com [209.85.218.224]) by mx1.freebsd.org (Postfix) with ESMTP id 1873E8FC1D; Thu, 18 Feb 2010 12:04:47 +0000 (UTC) Received: by bwz24 with SMTP id 24so51424bwz.13 for ; Thu, 18 Feb 2010 04:04:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=EaDd/eEiVh6nP8CNn+c91O+mwpKTJY9Aj4WZJ8ejtvo=; b=dS66fjwyIyOPrLqwtv+HO6ma9hcPssEsmymsioyYre9QuUXLyJ9YydWtg7LSUPtYNU 7wuUuemb1jl/yAgNMAOddqyaDuiZfKNHhykvNAJ/j7kM/CpbkQhlz/LhmOXiEyLUBnss cCgo2r7G/rY2ZLo70w5rqdg4nubMX/qZLFc3o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=RzQyHh/Absq8eWeatQkW1JMtqS9MNKd1rRcecwWvMe9oA3a9VrEdYTI0AC6jzLTkCi srCPOUQudVwmClJagqE5exKFDYwMqS6SGCz/Ssew5ItPMjdbKT8oCJaNQHDBgL8fulPp 1SQMYPpQ0u336hLrmrAIGnQpXqT/pF7r6h9OE= MIME-Version: 1.0 Received: by 10.204.39.211 with SMTP id h19mr3528298bke.164.1266494686896; Thu, 18 Feb 2010 04:04:46 -0800 (PST) In-Reply-To: References: <0AC6C93D50BE19A97047BAE3@HPQuadro64.dmpriest.net.uk> Date: Thu, 18 Feb 2010 15:04:46 +0300 Message-ID: From: pluknet To: Ivan Voras Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org 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 12:04:48 -0000 On 18 February 2010 14:41, Ivan Voras wrote: > 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 =A0 =A0 iused =A0 =A0ifree %iused Mounted on >> vol/imap =A0 =A0 =A01726396 =A0 69976 =A0 96% =A0/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. Sorta jfyi. That's what I see on Solaris: df: operation not applicable for FSType zfs --=20 wbr, pluknet