Sparse journal?

John Baldwin jhb at freebsd.org
Fri Jun 4 20:21:22 UTC 2010


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?

-- 
John Baldwin


More information about the freebsd-current mailing list