public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Stan Hoeppner <stan@hardwarefreak.com>
To: MikeJeezy <forums@mgaccess.net>
Cc: xfs@oss.sgi.com
Subject: Re: mount: Structure needs cleaning
Date: Sat, 25 Feb 2012 22:35:31 -0600	[thread overview]
Message-ID: <4F49B693.4080309@hardwarefreak.com> (raw)
In-Reply-To: <33393100.post@talk.nabble.com>

On 2/25/2012 9:15 PM, MikeJeezy wrote:
> 
> I have two 2TB xfs volumes and earlier today the /var/log/messages shows
> "xfs_force_shutdown" after many errors (attached) 
> http://old.nabble.com/file/p33393100/var-log-message.txt var-log-message.txt
> .  Are there any options to try before running "xfs_repair -L"?   The
> volumes contain several millions files so that I my last resort.  I'm a
> novice at best in Linux.

Googling "XFS_WANT_CORRUPTED_RETURN at line 280" turns up a whole lot of
information on this.  This is an Oct 2008 response to another user with
this problem, from XFS developer Dave Chinner, one of the resident
experts on this list:

"The freespace btrees are getting out of sync for some reason.

That is, when we go to allocate an extent, we have to update two
free space btrees. This shutdown:

> XFS internal error XFS_WANT_CORRUPTED_RETURN at line 280 of file
fs/xfs/xfs_alloc.c.  Caller 0xf88e0018

Indicates the extent being allocated was not found in one of the
two trees.

This corruption could have happened a long time ago in the past, and
it may simply be coincidental that you've tripped over this at
roughly the same time you upgraded the kernel.

Can you run xfs_check on the filesystem to determine if a freespace
tree is corrupted (post the output if it is), then run xfs_repair
to rebuild them?"

So, run "xfs_check /dev/sde1" and post the output here.  Then await
further instructions.  Don't flush the log as that's probably not the
problem.  Doing so will delete pending metadata changes and could cause
you more headaches.

-- 
Stan

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2012-02-26  4:35 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-26  3:15 mount: Structure needs cleaning MikeJeezy
2012-02-26  4:35 ` Stan Hoeppner [this message]
2012-02-26  7:22   ` MikeJeezy
2012-02-26 17:07     ` Stan Hoeppner
2012-02-27  0:49     ` Dave Chinner
2012-02-27  3:11       ` MikeJeezy
2012-02-27  6:28         ` Stan Hoeppner
2012-02-27 18:32           ` MikeJeezy
2012-02-28  1:48         ` Dave Chinner
2012-02-28  9:14           ` Brian Candler
2012-02-29  3:50             ` Dave Chinner
2012-02-29  7:40               ` Brian Candler
  -- strict thread matches above, loose matches on Subject: below --
2014-10-12  8:43 Mount: " tommason
2014-10-12 14:20 ` Brian Foster
2014-10-12 22:39   ` tom mason
2014-10-12 22:48     ` tom mason
2014-10-12 22:51       ` tom mason
2014-10-12 23:10       ` Dave Chinner
2014-10-13 10:05         ` Tom Mason
2014-10-13 10:19           ` Emmanuel Florac
2014-10-13 10:40             ` Tom Mason
2014-10-13  9:26       ` Emmanuel Florac
2014-10-13 20:33 Tom Mason
2014-10-13 22:09 ` Dave Chinner
2014-10-13 22:25   ` Tom Mason
2014-10-13 23:44     ` Dave Chinner
2014-10-13 22:38   ` Tom Mason
2014-10-13 23:47     ` Dave Chinner
2014-10-14 10:55     ` Emmanuel Florac
2014-10-14 15:46       ` Tom Mason
2014-10-14 16:38         ` Emmanuel Florac
2014-10-14 16:43           ` Tom Mason
2014-10-21 20:44           ` Tom Mason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F49B693.4080309@hardwarefreak.com \
    --to=stan@hardwarefreak.com \
    --cc=forums@mgaccess.net \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox