From owner-freebsd-fs@FreeBSD.ORG Wed Dec 20 17:28:13 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E7D3F16A511 for ; Wed, 20 Dec 2006 17:28:13 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from home.quip.cz (grimm.quip.cz [213.220.192.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6034043D73 for ; Wed, 20 Dec 2006 17:26:14 +0000 (GMT) (envelope-from 000.fbsd@quip.cz) Received: from [192.168.1.2] (qwork.quip.test [192.168.1.2]) by home.quip.cz (Postfix) with ESMTP id 05C89628F; Wed, 20 Dec 2006 17:52:29 +0100 (CET) Message-ID: <45896A4D.7040103@quip.cz> Date: Wed, 20 Dec 2006 17:52:29 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 References: <626700.55454.qm@web58612.mail.re3.yahoo.com> <45895A1D.2010105@centtech.com> In-Reply-To: <45895A1D.2010105@centtech.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, Arone Silimantia Subject: Re: quotas safe on >2 TB filesystems in 6.1-RELEASE ? 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: Wed, 20 Dec 2006 17:28:14 -0000 Eric Anderson wrote: [...] >> Hmmm...the time required is more dependent on inodes >> than on size of data / size of files, right ? >> >> My 9 TB dataset uses about 36 million inodes. >> >> Any comments on that number ? Large ? Pedestrian ? Typical ? > > > Sounds like you have a lot of larger files (~250k per file on average > possibly), which helps the fsck times. 36 million inodes should be > fsck'able with enough memory (maybe ~3gb ish? That's a wild guess). I > have two 10Tb file systems, one has 180million inodes. I don't attempt > to fsck it, because it would take a very long time, and I might possibly > run out of memory (I have 8Gb of memory). I use GJOURNAL on these, and > am very happy about it (thanks Pawel!). How can I calculate required memory? Some time ago I have problems with background fsck (snapshots?) on FreeBSD 6.0 with 1.2TB SCSI array (kernel panic). Then I set background_fsck="NO" and foreground fsck is running well. But I don't know how much memory is needed for: /dev/da1s1d 1132570308 514379258 561562536 48% 12456 146363222 0% /array0 real memory = 2147401728 (2047 MB) avail memory = 2096431104 (1999 MB) # swapinfo Device 1K-blocks Used Avail Capacity /dev/da0s1b 4194304 0 4194304 0% Can swap be used in time of fscking disc, or only "real" memory is used? Miroslav Lachman