From owner-freebsd-current@FreeBSD.ORG Sat Jun 5 18:56:06 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BC6F106564A for ; Sat, 5 Jun 2010 18:56:06 +0000 (UTC) (envelope-from gavin@ury.york.ac.uk) Received: from mail-gw0.york.ac.uk (mail-gw0.york.ac.uk [144.32.128.245]) by mx1.freebsd.org (Postfix) with ESMTP id D014A8FC1A for ; Sat, 5 Jun 2010 18:56:05 +0000 (UTC) Received: from ury.york.ac.uk (ury.york.ac.uk [144.32.108.81]) by mail-gw0.york.ac.uk (8.13.6/8.13.6) with ESMTP id o55IO9X8020256; Sat, 5 Jun 2010 19:24:09 +0100 (BST) Received: from gavin (helo=localhost) by ury.york.ac.uk with local-esmtp (Exim 4.71) (envelope-from ) id 1OKy2T-0006n3-Ip; Sat, 05 Jun 2010 19:24:09 +0100 Date: Sat, 5 Jun 2010 19:24:09 +0100 (BST) From: Gavin Atkinson X-X-Sender: gavin@ury.york.ac.uk To: John Baldwin In-Reply-To: <201006040955.03845.jhb@freebsd.org> Message-ID: References: <201006040955.03845.jhb@freebsd.org> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@ury.york.ac.uk Cc: current@freebsd.org Subject: Re: Sparse journal? 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: Sat, 05 Jun 2010 18:56:06 -0000 On Fri, 4 Jun 2010, John Baldwin wrote: > I crashed a testbox running FreeBSD/i386 today which had SUJ enabled on its > /var partition. It encountered the following error when trying to fsck -p > during boot: > > ** SU+J Recovering /dev/ada0s1d > ** Reading 16572416 byte journal from inode 4. > fsck_ufs: Sparse journal inode 4. > > It then failed with an unexpected soft update inconsistency. du claims that > /var/.sujournal takes up 16192 KB. This matches up assuming 8k blocks and 1 > indirect block (I used fsdb -r and dumped the block list for inode 4 and it > does have one indirect block). Any ideas? This should be fixed in r208241. Try disabling and re-enabling journalling on that partition with tunefs(8) built after that revision. Gavin