public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: Riku Paananen <riku.paananen@helsinki.fi>
Cc: xfs@oss.sgi.com
Subject: Re: xfs_repair hangs at Phase 6
Date: Fri, 11 Sep 2009 10:51:27 -0500	[thread overview]
Message-ID: <4AAA71FF.3060706@sandeen.net> (raw)
In-Reply-To: <4AAA15A6.8070700@helsinki.fi>

Riku Paananen wrote:
> Hello.
> 
> I have a 39TB xfs filesystem in a SAN that got corrupted. The reasons 
> for the corruption are unclear. I've been trying to fix it using 
> xfs_repair but the repair operation always hangs at Phase 6 "traversing 
> filesystem ...".

Ok, so strace was stuck?

Can you try again with -P?

If that fails can you try again with -P -o bhashsize=1024 ?

(or so; 1024 is the default, you could double it again if it still hangs)

You might also attach gdb and see where it is.

If increasing the bhashsize fixes it then I probably know what the bug 
is (though not yet the solution...)

If you want to provide an xfs_metadump image of it from before you 
repair it, I could test any eventual fix against that.

thanks,
-Eric

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

  parent reply	other threads:[~2009-09-11 15:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-11  9:17 xfs_repair hangs at Phase 6 Riku Paananen
2009-09-11  9:58 ` Emmanuel Florac
2009-09-11 15:51 ` Eric Sandeen [this message]
2009-09-14  5:08   ` Riku Paananen

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=4AAA71FF.3060706@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=riku.paananen@helsinki.fi \
    --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