Re: 3.10-rc3 xfs mount/recovery failure & ext fsck hang.

Dave Chinner
2013-05-28T21:10:15Z

On Tue, May 28, 2013 at 12:12:30PM -0400, Dave Jones wrote:
> box crashed, and needed rebooting. On next bootup, when it found the dirty partition,
> xfs chose to spew and then hang instead of replaying the journal and mounting :(
>
> Dave
>
> [ 14.694731] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, debug enabled
> [ 14.722328] XFS (sda2): Mounting Filesystem
> [ 14.757801] XFS (sda2): Starting recovery (logdev: internal)
> [ 14.782049] XFS: Assertion failed: fs_is_ok, file: fs/xfs/xfs_dir2_data.c, line: 169

A directory block has an entry that is not in the hash index.
Either there's an underlying corruption on disk, or there's an
inconsistency in what has been logged and so an entire change has
not been replayed. Hence the post recovery verification has thrown a
corruption error....

If you haven't already repaired the filesystem, can you send me a
metadump of the filesystem in question?

> [ 40.642521] BUG: soft lockup - CPU#0 stuck for 22s! [fsck.ext2:294]

I'm not sure what this has to do with the XFS problem - it's
apparently stuck in invalidate_bh_lrus() walking a CPU mask....