Sparse journal?

Rui Paulo rpaulo at
Fri Jun 4 23:20:04 UTC 2010

On 4 Jun 2010, at 14:55, 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?

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.

Rui Paulo

More information about the freebsd-current mailing list