From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 23:20:04 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 6726F106564A; Fri, 4 Jun 2010 23:20:04 +0000 (UTC) (envelope-from rpaulo@freebsd.org) Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by mx1.freebsd.org (Postfix) with ESMTP id 255488FC14; Fri, 4 Jun 2010 23:20:03 +0000 (UTC) Received: from e.earth.lavabit.com (e.earth.lavabit.com [192.168.111.14]) by karen.lavabit.com (Postfix) with ESMTP id CBBC811BA77; Fri, 4 Jun 2010 17:49:54 -0500 (CDT) Received: from 10.0.10.3 (54.81.54.77.rev.vodafone.pt [77.54.81.54]) by lavabit.com with ESMTP id 5P39QX6SUZJ5; Fri, 04 Jun 2010 17:49:54 -0500 Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Rui Paulo In-Reply-To: <201006040955.03845.jhb@freebsd.org> Date: Fri, 4 Jun 2010 23:49:51 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <3886E750-8569-4C07-8691-B3B55A0B8CCA@FreeBSD.org> References: <201006040955.03845.jhb@freebsd.org> To: John Baldwin X-Mailer: Apple Mail (2.1078) 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: Fri, 04 Jun 2010 23:20:04 -0000 On 4 Jun 2010, at 14:55, John Baldwin wrote: > I crashed a testbox running FreeBSD/i386 today which had SUJ enabled = on its=20 > /var partition. It encountered the following error when trying to = fsck -p=20 > during boot: >=20 > ** SU+J Recovering /dev/ada0s1d > ** Reading 16572416 byte journal from inode 4. > fsck_ufs: Sparse journal inode 4. >=20 > It then failed with an unexpected soft update inconsistency. du = claims that=20 > /var/.sujournal takes up 16192 KB. This matches up assuming 8k blocks = and 1=20 > indirect block (I used fsdb -r and dumped the block list for inode 4 = and it=20 > does have one indirect block). Any ideas? I had this too on /var. The workaround was to disable SUJ on my /var = which only has 2GB. BTW, every time I booted, this error would show up. Regards, -- Rui Paulo