xfs
[Top] [All Lists]

Re: XFS internal error

To: dseff@xxxxxxxxxxx
Subject: Re: XFS internal error
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Wed, 06 Oct 2004 10:07:50 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <1097073134.18322.37.camel@jupiter>
References: <1097073134.18322.37.camel@jupiter>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.7.3 (X11/20040803)
Well, it's an error during log recovery;

/*
 * If this failure happens the request to free this
 * space was invalid, it's (partly) already free.
 * Very bad.
 */
XFS_WANT_CORRUPTED_GOTO(ltbno + ltlen <= bno, error0);

I think that this is not a problem in your log, but rather a problem in the data portion of your filesystem which the log replay is trying to modify.

The two options now are probably to either start doing some debugging by using xfs_logprint and xfs_db to figure out what's wrong, or to zero out the log (thus throwing away any metadata changes in the log; possibly not such a good thing for your files in /var) and then running xfs_repair.

-Eric

Dave Seff wrote:
I just wanted to know if this was a critical error. This occured on /var
on one of my systems:

XFS mounting filesystem hda6
Starting XFS recovery on filesystem: hda6 (dev: hda6)
XFS internal error XFS_WANT_CORRUPTED_GOTO at line 1583 of file
fs/xfs/xfs_alloc.c.  Caller 0xc01ada6b
 [<c01d8afa>] xfs_error_report+0x3a/0x3c
 [<c01acd73>] xfs_free_ag_extent+0x55b/0x620
 [<c01ada6b>] xfs_free_extent+0xb7/0xe0
 [<c01ada6b>] xfs_free_extent+0xb7/0xe0
 [<c01d930e>] xfs_efd_init+0xf2/0x158
 [<c01f0032>] xlog_recover_process_efi+0x136/0x170
 [<c01f00a6>] xlog_recover_process_efis+0x3a/0x6c
 [<c01f1424>] xlog_recover_finish+0x18/0x95
 [<c01f2fd0>] xfs_mountfs+0xab4/0xd3c
 [<c01e9582>] xfs_log_mount_finish+0x1e/0x28
 [<c01f311e>] xfs_mountfs+0xc02/0xd3c
 [<c011567c>] default_wake_function+0x0/0x1c
 [<c020515a>] xfs_setsize_buftarg+0x32/0x60
 [<c01e5730>] xfs_ioinit+0x24/0x2c
 [<c01f9fdd>] xfs_mount+0x305/0x388
 [<c020ab6f>] vfs_mount+0x27/0x2c
 [<c020a8c7>] linvfs_fill_super+0x7b/0x1fc
 [<c0214732>] snprintf+0x1a/0x20
 [<c01789b7>] disk_name+0x67/0x70
 [<c015010b>] sb_set_blocksize+0x17/0x40
 [<c014fad7>] get_sb_bdev+0xe3/0x128
 [<c020aa67>] linvfs_get_sb+0x1f/0x28
 [<c020a84c>] linvfs_fill_super+0x0/0x1fc
 [<c014fc92>] do_kern_mount+0x4a/0xb8
 [<c0162f69>] do_add_mount+0x69/0x154
 [<c0163252>] do_mount+0x15e/0x178
 [<c01630a4>] copy_mount_options+0x50/0xa0
 [<c01635df>] sys_mount+0xb3/0x118
 [<c0105693>] syscall_call+0x7/0xb

Ending XFS recovery on filesystem: hda6 (dev: hda6)



<Prev in Thread] Current Thread [Next in Thread>