Re: possible xfs corruption

Dave Chinner
2010-12-07T22:08:26Z

On Tue, Dec 07, 2010 at 03:49:49AM -0800, blacknred wrote:
>
> Hi...
>
> I'm stuck with a storage issue on reboot. Initially doubted the storage, but
> dmesg throws these errors. Now wondering whether this is a fs issue? Any
> thoughts as to whats going on here?
>
>
> XFS: failed to locate log tail
> XFS: log mount/recovery failed: error 117
> XFS: log mount failed
> XFS mounting filesystem cciss/c0d0
> Filesystem "cciss/c0d0": XFS internal error xlog_clear_stale_blocks(2) at
> line 1237 of file

Which indicates that the head and/or the tail of the log are not
valid. Can you provide the output of:

# xfs_logprint -d /dev/cciss/c0d0

So we can see what the head/tail values are in the log?

> /home/buildsvn/rpmbuild/BUILD/xfs-kmod-0.4/_kmod_build_PAE/xfs_log_recover.c.

CentOS kernel? How old?

Cheers,

Dave.
--
Dave Chinner
david@fromorbit.com