From owner-freebsd-current@FreeBSD.ORG Mon Dec 7 10:24:41 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87BAA106568B for ; Mon, 7 Dec 2009 10:24:41 +0000 (UTC) (envelope-from areilly@bigpond.net.au) Received: from nskntmtas03p.mx.bigpond.com (nskntmtas03p.mx.bigpond.com [61.9.168.143]) by mx1.freebsd.org (Postfix) with ESMTP id 137638FC0A for ; Mon, 7 Dec 2009 10:24:40 +0000 (UTC) Received: from nskntotgx02p.mx.bigpond.com ([124.188.161.100]) by nskntmtas03p.mx.bigpond.com with ESMTP id <20091207102439.RQBF1310.nskntmtas03p.mx.bigpond.com@nskntotgx02p.mx.bigpond.com> for ; Mon, 7 Dec 2009 10:24:39 +0000 Received: from duncan.reilly.home ([124.188.161.100]) by nskntotgx02p.mx.bigpond.com with ESMTP id <20091207102438.BOJM5306.nskntotgx02p.mx.bigpond.com@duncan.reilly.home> for ; Mon, 7 Dec 2009 10:24:38 +0000 Date: Mon, 7 Dec 2009 21:24:38 +1100 From: Andrew Reilly To: freebsd-current@freebsd.org Message-ID: <20091207102438.GA82043@duncan.reilly.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Authentication-Info: Submitted using SMTP AUTH LOGIN at nskntotgx02p.mx.bigpond.com from [124.188.161.100] using ID areilly@bigpond.net.au at Mon, 7 Dec 2009 10:24:38 +0000 X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150203.4B1CD7E7.0043,ss=1,fgs=0 X-SIH-MSG-ID: qR8yENP4TAD0zmQs0WyzOwJxyArnqyN48Z4QX81loRIGTUDCp8DeQ9reLP1Rtdu1xC5LJhuFNGMkaa/tTY3RstCK Subject: On gjournal vs unexpected shutdown (-->fsck) 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: Mon, 07 Dec 2009 10:24:41 -0000 Hi there, I thought that I'd try a gjournal'd UFS on one of my spare drives (so: dedicated to the task, formatted from clean, per the instructions in the gjournal man page.) The filesystem itself seems to be working swimmingly, although it isn't heavily used. In the time that I've had it running, though, I've had two power outages that have resulted in unexpected shutdowns, and I was surprised to find that the boot process did nothing unexpected: file system not marked clean: fsck before you can mount. So both times I fsck'd the drive, and as near as I can tell this took exactly as long as fsck on a regular UFS system of similar size. Isn't the journalling operation supposed to confer a shortcut benefit here? I know that the man page doesn't mention recovery by journal play-back, but I thought that it didn't need to: that's the whole point. Is there a step that I'm missing? Perhaps a gjournal-aware version of fsck that I should run instead of regular fsck, that will quickly mark the file system clean? (Running -current as of last weekend, if that matters.) Cheers, -- Andrew