linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wang Shilong <wangshilong1991@gmail.com>
To: Kyriakos <kyriakosbrastianos@gmail.com>
Cc: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: Recovering from btrfs error Couldn't read chunk root.
Date: Mon, 29 Jul 2013 20:06:27 +0800	[thread overview]
Message-ID: <EECFF15F-5957-4186-99B2-CC1B656861B5@gmail.com> (raw)
In-Reply-To: <CAA6RbiqwS8mvZERdENv1ixD+=He9HehmA6rMtcW8wSGud+V6nA@mail.gmail.com>


在 2013-7-29,上午2:12,Kyriakos <kyriakosbrastianos@gmail.com> 写道:

> Just tried it as you said with the -v option enabled
> This is my output:
> 
> http://bpaste.net/show/118112/
> 
> 
This is a *long* email, and seems that btrfs list refuse it.

>  Device extent: devid = 1, start = 1667558801408, len = 1073741824,
> chunk offset = 1663255445504
> Couldn't map the block 626309926912
> btrfs: volumes.c:1020: btrfs_num_copies: Assertion `!(ce->start >
> logical || ce->start + ce->size < logical)' failed.
> Aborted (core dumped)

Strange enough, we don't find any chunks during scanning process.

And seems this is unrecoverable ~_~


Wang,
> 
> 
> Any thoughts?
> 
> On 28 July 2013 08:17, Wang Shilong <wangshilong1991@gmail.com> wrote:
>> Hello,
>> 
>> It seems Btrfs Chunk Tree is damaged, so you can not mount Btrfs filesystem any more.
>> 
>> However, you can try the latest Btrfs-progs, Miao Xie implements chunk tree recover function.
>> 
>> The url is:
>> 
>>        git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git
>> 
>> 
>> you can try it:
>>                btrfs chunk-recover  -v <dev>
>> 
>> This is Time-consuming, because it will scan the whole disk. And also,
>> please catch output of processing(this is helpful to us if the recovery fails, -v option
>> enable this).
>> 
>> Thanks,
>> Wang
>> 
>> 
>> 
>> 
>> 
>> 


  parent reply	other threads:[~2013-07-29 12:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-28  2:58 Recovering from btrfs error Couldn't read chunk root Kyriakos
2013-07-28  5:17 ` Wang Shilong
     [not found]   ` <CAA6RbiqwS8mvZERdENv1ixD+=He9HehmA6rMtcW8wSGud+V6nA@mail.gmail.com>
2013-07-29 12:06     ` Wang Shilong [this message]
2013-07-29 20:18       ` Kyriakos
2013-07-30 13:32         ` Wang Shilong

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=EECFF15F-5957-4186-99B2-CC1B656861B5@gmail.com \
    --to=wangshilong1991@gmail.com \
    --cc=kyriakosbrastianos@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).