Re: possible xfs corruption

Eric Sandeen
2010-12-09T03:42:28Z

On 12/7/10 4:10 PM, Dave Chinner wrote:
> 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?

Assuning it's centos5, there's really no need to be using an xfs kmod there
anymore, the module shipped with the kernel in recent versions of the OS
is really the one you want to use. That kmod is ancient and unmaintained.

Although I suspect the storage is more likely at fault here. :)

-Eric

> Cheers,
>
> Dave.