Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jun 2010 19:24:09 +0100 (BST)
From:      Gavin Atkinson <gavin@FreeBSD.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: Sparse journal?
Message-ID:  <alpine.LNX.2.00.1006051922200.22430@ury.york.ac.uk>
In-Reply-To: <201006040955.03845.jhb@freebsd.org>
References:  <201006040955.03845.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LNX.2.00.1006051922200.22430>