Sparse journal?

Gavin Atkinson gavin at
Sat Jun 5 18:56:06 UTC 2010

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.


More information about the freebsd-current mailing list