Re: Sparse journal?

From: Gavin Atkinson <gavin_at_FreeBSD.org>
Date: Sat, 5 Jun 2010 19:24:09 +0100 (BST)
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
Received on Sat Jun 05 2010 - 16:56:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC