public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: Ben Myers <bpm@sgi.com>
Cc: "xfs@oss.sgi.com" <xfs@oss.sgi.com>
Subject: Re: Weird message from xfs_repair
Date: Wed, 01 May 2013 15:58:09 -0500	[thread overview]
Message-ID: <518181E1.2000604@sandeen.net> (raw)
In-Reply-To: <20130501194320.GP29359@sgi.com>

On 5/1/13 2:43 PM, Ben Myers wrote:
> Hi Emmanuel,
> 
> On Wed, May 01, 2013 at 08:06:33PM +0200, Emmanuel Florac wrote:
>> I've just had to resort to the latest devel version of xfs_repair to
>> get back some heavily damaged filesystem (thanks to a failing RAID
>> controller), and it ended with the following message:
>>
>> cache_purge: shake on cache 0x672030 left 1 nodes!?
>>
>> What's this about? I didn't look at the source, but a new run of
>> xfs_repair detected nothing. 
> 
> xfs_repair/libxfs has caches for xfs_bufs and inodes to speed things up.
> cache_purge is trying to flush out all entries from one of those caches.  After
> the purge one entry was left unexpectedly, maybe because someone leaked a
> reference on it or something.  The message doesn't indicate an on-disk problem,
> it's a problem in xfs_repair.

Several of those internal cache housekeeping messages can be
alarming.  Indeed anything out of the ordinary during repair
is alarming to most users.  ;)

At any rate they're completely useless to the administrator.
We should consider a way to reassure the user, and make them
useful at the same time.

Maybe a global set when something like this happens, and
then at the end, a friendly message about what it meant
and how to report the error and/or help debug?

Although if repair is done now, it's probably unlikely(?)
that the message would pop out again, so is there really
anything which could be done at this point?

Emmanuael - if another xfs_repair pops out the same error,
then capturing a metadump of the fs would probably let someone
look into it.  Someone who has time, that is.  ;)

-Eric


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

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

  reply	other threads:[~2013-05-01 20:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-01 18:06 Weird message from xfs_repair Emmanuel Florac
2013-05-01 19:43 ` Ben Myers
2013-05-01 20:58   ` Eric Sandeen [this message]
2013-05-02  6:50     ` Emmanuel Florac

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=518181E1.2000604@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=bpm@sgi.com \
    --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