Re: XFS corruption on post 3.7 tree.

From: Ben Myers
Date: Thu Dec 13 2012 - 17:41:10 EST


Hi Dave,

On Thu, Dec 13, 2012 at 05:10:57PM -0500, Dave Jones wrote:
> On Thu, Dec 13, 2012 at 03:55:22PM -0500, Dave Jones wrote:
> > Doing a kernel build while running on a 3.7+ tree from last night and I hit this...
> >
> >
> > [22637.787422] XFS: Internal error XFS_WANT_CORRUPTED_RETURN at line 163 of file fs/xfs/xfs_dir2_data.c. Caller 0xffffffffa070086a

Looks like the dir v2 verifier found that a single block directory had a data
entry without a corresponding leaf entry in the block.

> I unmounted, remounted, unmounted, and then ran xfs_repair on it, as prompted.
> xfs_repair noted..
>
> bad hash table for directory inode 201328949 (bad stale count): rebuilding

Interesting!

> After remounting, things seemed ok again.
> I blew away my .ccache on that drive, and restarted my compile,
> and then hit the same bug again.

Suppose you could you grab a metadump before repairing it next time?

Regards,
Ben
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/