xfs
[Top] [All Lists]

Re: xfsprogs 3.1.0 repair problems?

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: xfsprogs 3.1.0 repair problems?
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Fri, 15 Jan 2010 14:52:22 +1100
Cc: xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <4B4FDC3E.6030205@xxxxxxxxxxx>
References: <4B4FDC3E.6030205@xxxxxxxxxxx>
User-agent: Mutt/1.5.18 (2008-05-17)
On Thu, Jan 14, 2010 at 09:08:46PM -0600, Eric Sandeen wrote:
> It looks like maybe the freespace checking isn't quite up to par:
> 
> test 073 is dying with:
> 
> _check_xfs_filesystem: filesystem on /mnt/test/14309.image is inconsistent
> *** xfs_repair -n output ***
> Phase 1 - find and verify superblock...
> Phase 2 - using internal log
>         - scan filesystem freespace and inode maps...
> sb_fdblocks 26156829, counted 26157853

Actually, that looks like it is out by exactly 1024 blocks, which is
the default amount of reserved space in the filesystem. Perhaps
there is something else wrong with the unmount code that
is not unreserving this space before the superblock is
written to disk?

I'm about to see if I can reproduce it....

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>