Re: EFSCORRUPTED on mount?

Eric Sandeen
2011-11-22T18:52:55Z

On 11/22/11 12:47 PM, Gregory Farnum wrote:
> On Tue, Nov 22, 2011 at 7:06 AM, Eric Sandeen <sandeen@sandeen.net> wrote:
>> > Others have had good comments but also:
>> >
>>> >> 2011-11-17 16:00:37.294876 7f83f3eef720 filestore(/mnt/osd.17)
>>> >> truncate meta/pginfo_12.7c8/0 size 0
>>> >> 2011-11-17 16:00:37.483407 7f83f3eef720 filestore(/mnt/osd.17)
>>> >> truncate meta/pginfo_12.7c8/0 size 0 = -117
>>> >> 2011-11-17 16:00:37.483476 7f83f3eef720 filestore(/mnt/osd.17) error
>>> >> error 117: Structure needs cleaning not handled
>> >
>> > was there anything in dmesg/system logs right at this point? XFS should
>> > have said something about this original error.
> Whoops. The following is a sample of what was in dmesg and kern.log
> after that point but before I did anything else (it repeated a lot but
> there weren't any other lines of output):
> xfs/xfs_buf.c. Return address = 0xffffffff811c2aa8
> [56459.526220] XFS (sdg1): xfs_log_force: error 5 returned.
> [56489.544153] XFS (sdg1): xfs_log_force: error 5 returned.
> [56519.562087] XFS (sdg1): xfs_log_force: error 5 returned.
> [56549.580021] XFS (sdg1): xfs_log_force: error 5 returned.
> [56579.597956] XFS (sdg1): xfs_log_force: error 5 returned.
> [56609.615889] XFS (sdg1): xfs_log_force: error 5 returned.
> [56613.036430] XFS (sdg1): xfs_log_force: error 5 returned.

Ok, error 5 is EIO:

8 include/asm-generic/errno-base.h 8 #define EIO 5

So the very first error you saw was "xfs_do_force_shutdown(0x1) called from line..." ?
Or the "xfs_log_force error 5 returned?" I'm wondering if there was more
before this.

It's worth looking carefully to see the very first problem reported by xfs,
and posibly from storage before that. (i.e. did your storage go wonky?)

-Eric

> [56613.041731] XFS (sdg1): xfs_do_force_shutdown(0x1) called from line
> 1037 of file fs/xfs/xfs_buf.c. Return address = 0xffffffff811c2aa8
> [56619.430497] XFS (sdg1): xfs_log_force: error 5 returned.
> [56619.435796] XFS (sdg1): xfs_do_force_shutdown(0x1) called from line
> 1037 of file fs/xfs/xfs_buf.c. Return address = 0xffffffff811c2aa8
>
> Thanks!
> -Greg