From owner-freebsd-current@FreeBSD.ORG Wed May 2 16:37:13 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8345E16A403 for ; Wed, 2 May 2007 16:37:13 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh2.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 57D4913C44B for ; Wed, 2 May 2007 16:37:13 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from neutrino.centtech.com (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.8/8.13.8) with ESMTP id l42Gb8O7092541; Wed, 2 May 2007 11:37:09 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <4638BE34.3070709@freebsd.org> Date: Wed, 02 May 2007 11:37:08 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.0 (X11/20070420) MIME-Version: 1.0 To: Ivan Voras References: <200705021453.20372.h.schmalzbauer@omnisec.de> <46389DED.5060509@freebsd.org> <200705021631.02167.h.schmalzbauer@omnisec.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/3195/Wed May 2 04:34:51 2007 on mh2.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh2.centtech.com Cc: freebsd-current@freebsd.org Subject: Re: gjournal + gmirror question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 16:37:13 -0000 On 05/02/07 09:48, Ivan Voras wrote: > Harald Schmalzbauer wrote: > >> Because it's a large fs with standard newfs parameters, so many inodes to >> check... >> Or does fsck recognize that it's a gjournaled UFS and skip unnessecarry >> checks? >> That's what my initinal interest was about. > > Judging from > http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/fsck_ffs/gjournal.c you > might be right, but I don't see it documented in man pages. IIRC Pawel > did at one time explain that fsck will only delete stale/unreferenced > inodes and so be quicker than usual. > > If you have the time for benchmarks, they would be appreciated :) > Well, there would be less of a point to using gjournaling if you still had to fsck the whole thing, right? With gjournaling, you can just run an 'fsck -p' on it, which takes less than 1 second on my 10Tb fs. So, no need to benchmark. Eric