* Weird message from xfs_repair
@ 2013-05-01 18:06 Emmanuel Florac
2013-05-01 19:43 ` Ben Myers
0 siblings, 1 reply; 4+ messages in thread
From: Emmanuel Florac @ 2013-05-01 18:06 UTC (permalink / raw)
To: xfs@oss.sgi.com
Hi everyone,
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.
--
------------------------------------------------------------------------
Emmanuel Florac | Direction technique
| Intellique
| <eflorac@intellique.com>
| +33 1 78 94 84 02
------------------------------------------------------------------------
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Weird message from xfs_repair
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
0 siblings, 1 reply; 4+ messages in thread
From: Ben Myers @ 2013-05-01 19:43 UTC (permalink / raw)
To: Emmanuel Florac; +Cc: xfs@oss.sgi.com
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.
Regards,
Ben
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Weird message from xfs_repair
2013-05-01 19:43 ` Ben Myers
@ 2013-05-01 20:58 ` Eric Sandeen
2013-05-02 6:50 ` Emmanuel Florac
0 siblings, 1 reply; 4+ messages in thread
From: Eric Sandeen @ 2013-05-01 20:58 UTC (permalink / raw)
To: Ben Myers; +Cc: xfs@oss.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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Weird message from xfs_repair
2013-05-01 20:58 ` Eric Sandeen
@ 2013-05-02 6:50 ` Emmanuel Florac
0 siblings, 0 replies; 4+ messages in thread
From: Emmanuel Florac @ 2013-05-02 6:50 UTC (permalink / raw)
To: Eric Sandeen; +Cc: Ben Myers, xfs@oss.sgi.com
Le Wed, 01 May 2013 15:58:09 -0500 vous écriviez:
> Several of those internal cache housekeeping messages can be
> alarming. Indeed anything out of the ordinary during repair
> is alarming to most users. ;)
>
Well I've had xfs_repair happily wiping several terabytes of data in
the past, so I'm easily concerned :) But I supposed this is mostly
related to the fact I was running a pre-release.
> 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. ;)
In that case the filesystem was in extremely poor shape with lots of
errors I've never seen before, and a lot of users waiting for it to
come back online. Fortunately recent xfs_repair seem to be reliable
enough.
--
------------------------------------------------------------------------
Emmanuel Florac | Direction technique
| Intellique
| <eflorac@intellique.com>
| +33 1 78 94 84 02
------------------------------------------------------------------------
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-05-02 6:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2013-05-02 6:50 ` Emmanuel Florac
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox