linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to deal with "The chunks in memory can not match the metadata of the fs. Repair failed."?
@ 2014-09-15 14:59 Karl-Philipp Richter
  2014-09-16  1:46 ` Gui Hecheng
  0 siblings, 1 reply; 3+ messages in thread
From: Karl-Philipp Richter @ 2014-09-15 14:59 UTC (permalink / raw)
  To: linux-btrfs

Hi together,
I'm currently encountering another issue with `btrfs rescue 
chunk-recover`. After some seconds of maximal I/O activity, the program 
is idle for some seconds and then prints

     The chunks in memory can not match the metadata of the fs. Repair 
failed.
     Fail to recover the chunk tree.

I don't find any mention of this output except in the source code (this 
is as well the only thing $SEARCH_ENGINE points me to). What is the 
recommended next step? It would be nice to see the situation (The chunks 
in memory can not match the metadata of the fs) or the output mentioned 
in `man btrfs rescue`.

Any help is appreciated.

-Kalle

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to deal with "The chunks in memory can not match the metadata of the fs. Repair failed."?
  2014-09-15 14:59 How to deal with "The chunks in memory can not match the metadata of the fs. Repair failed."? Karl-Philipp Richter
@ 2014-09-16  1:46 ` Gui Hecheng
  2014-12-18 22:06   ` Karl-Philipp Richter
  0 siblings, 1 reply; 3+ messages in thread
From: Gui Hecheng @ 2014-09-16  1:46 UTC (permalink / raw)
  To: Karl-Philipp Richter; +Cc: linux-btrfs

On Mon, 2014-09-15 at 16:59 +0200, Karl-Philipp Richter wrote:
> Hi together,
> I'm currently encountering another issue with `btrfs rescue 
> chunk-recover`. After some seconds of maximal I/O activity, the program 
> is idle for some seconds and then prints
> 
>      The chunks in memory can not match the metadata of the fs. Repair 
> failed.
>      Fail to recover the chunk tree.
> 
> I don't find any mention of this output except in the source code (this 
> is as well the only thing $SEARCH_ENGINE points me to). What is the 
> recommended next step? It would be nice to see the situation (The chunks 
> in memory can not match the metadata of the fs) or the output mentioned 
> in `man btrfs rescue`.
> 
> Any help is appreciated.
> 
> -Kalle

Hi Kalle,
If you are encountering the above msg, it means the chunk tree has some
inconsistent stuff with other trees like device tree & extent tree.
You can specify the '-v' option for chunk-recover to see more details.

And also, the btrfs check cmd may tell more about the story.

Thanks,
Gui


> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to deal with "The chunks in memory can not match the metadata of the fs. Repair failed."?
  2014-09-16  1:46 ` Gui Hecheng
@ 2014-12-18 22:06   ` Karl-Philipp Richter
  0 siblings, 0 replies; 3+ messages in thread
From: Karl-Philipp Richter @ 2014-12-18 22:06 UTC (permalink / raw)
  To: Gui Hecheng; +Cc: linux-btrfs

Hi,
Just to give you a really late feedback on this: I got it fixed with
btrfs-progs 3.17.3n on Linux 3.17.6, i.e. `btrfs rescue chunk-recover`
just did the job. Thanks for your advice.

-Kalle

Am 09/16/2014 um 03:46 AM schrieb Gui Hecheng:
> On Mon, 2014-09-15 at 16:59 +0200, Karl-Philipp Richter wrote:
>> Hi together,
>> I'm currently encountering another issue with `btrfs rescue 
>> chunk-recover`. After some seconds of maximal I/O activity, the program 
>> is idle for some seconds and then prints
>>
>>      The chunks in memory can not match the metadata of the fs. Repair 
>> failed.
>>      Fail to recover the chunk tree.
>>
>> I don't find any mention of this output except in the source code (this 
>> is as well the only thing $SEARCH_ENGINE points me to). What is the 
>> recommended next step? It would be nice to see the situation (The chunks 
>> in memory can not match the metadata of the fs) or the output mentioned 
>> in `man btrfs rescue`.
>>
>> Any help is appreciated.
>>
>> -Kalle
> 
> Hi Kalle,
> If you are encountering the above msg, it means the chunk tree has some
> inconsistent stuff with other trees like device tree & extent tree.
> You can specify the '-v' option for chunk-recover to see more details.
> 
> And also, the btrfs check cmd may tell more about the story.
> 
> Thanks,
> Gui
> 
> 
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-18 22:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-15 14:59 How to deal with "The chunks in memory can not match the metadata of the fs. Repair failed."? Karl-Philipp Richter
2014-09-16  1:46 ` Gui Hecheng
2014-12-18 22:06   ` Karl-Philipp Richter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).