From: Maxim Mikheev <mikhmv@gmail.com>
To: Hugo Mills <hugo@carfax.org.uk>,
Liu Bo <liubo2009@cn.fujitsu.com>,
linux-btrfs@vger.kernel.org
Subject: Re: Help with data recovering
Date: Mon, 04 Jun 2012 12:24:05 -0400 [thread overview]
Message-ID: <4FCCE125.7000004@gmail.com> (raw)
In-Reply-To: <20120604123431.GC15986@carfax.org.uk>
I run through all potential tree roots. It gave me everytime messages
like these:
parent transid verify failed on 3405159735296 wanted 9096 found 5263
parent transid verify failed on 3405159735296 wanted 9096 found 5263
parent transid verify failed on 3405159735296 wanted 9096 found 5263
parent transid verify failed on 3405159735296 wanted 9096 found 5263
Ignoring transid failure
parent transid verify failed on 3356745109504 wanted 5263 found 9008
parent transid verify failed on 3356745109504 wanted 5263 found 9008
parent transid verify failed on 3356745109504 wanted 5263 found 9008
parent transid verify failed on 3356745109504 wanted 5263 found 9008
Ignoring transid failure
parent transid verify failed on 3356744548352 wanted 5262 found 9008
parent transid verify failed on 3356744548352 wanted 5262 found 9008
parent transid verify failed on 3356744548352 wanted 5262 found 9008
parent transid verify failed on 3356744548352 wanted 5262 found 9008
Ignoring transid failure
parent transid verify failed on 3356745035776 wanted 5263 found 9008
parent transid verify failed on 3356745035776 wanted 5263 found 9008
parent transid verify failed on 3356745035776 wanted 5263 found 9008
parent transid verify failed on 3356745035776 wanted 5263 found 9008
Ignoring transid failure
parent transid verify failed on 3356745015296 wanted 5263 found 9008
parent transid verify failed on 3356745015296 wanted 5263 found 9008
parent transid verify failed on 3356745015296 wanted 5263 found 9008
parent transid verify failed on 3356745015296 wanted 5263 found 9008
Ignoring transid failure
Root objectid is 5
The largest recovered data is 12Kb.
max@s0:~/btrfs-recovering./recovered$ ls -lahs 3728819929088
total 28K
4.0K drwxr-xr-x 3 root root 4.0K Jun 4 12:06 .
20K drwxrwxr-x 347 max max 20K Jun 4 12:18 ..
4.0K drwxr-xr-x 3 root root 4.0K Jun 4 12:06 Irina
max@s0:~/btrfs-recovering./recovered$ ls -lahs 3728819929088/Irina/
total 12K
4.0K drwxr-xr-x 3 root root 4.0K Jun 4 12:06 .
4.0K drwxr-xr-x 3 root root 4.0K Jun 4 12:06 ..
4.0K drwxr-xr-x 2 root root 4.0K Jun 4 12:06 .idmapdir2
max@s0:~/btrfs-recovering./recovered$ ls -lahs
3728819929088/Irina/.idmapdir2/
total 8.0K
4.0K drwxr-xr-x 2 root root 4.0K Jun 4 12:06 .
4.0K drwxr-xr-x 3 root root 4.0K Jun 4 12:06 ..
0 -rw-r--r-- 1 root root 0 Jun 4 12:06 4.bucket.lock
0 -rw-r--r-- 1 root root 0 Jun 4 12:06 7.bucket
max@s0:~/btrfs-recovering./recovered$
What can I do next?
On 06/04/2012 08:34 AM, Hugo Mills wrote:
> [trimmed Arne& Jan from cc by request]
>
> On Mon, Jun 04, 2012 at 08:28:22AM -0400, Maxim Mikheev wrote:
>> adding -v, as an example:
>> sudo btrfs-find-root -v -v -v -v -v /dev/sdb
>>
>> didn't change output at all.
> OK, then all I can suggest is what I said below -- work through the
> potential tree roots in order from largest generation id to smallest.
> Given that it's not reporting any trees, though, I'm not certain that
> you'll get any success with it.
>
> Did you have your data in a subvolume?
>
> Hugo.
>
>> On 06/04/2012 08:11 AM, Hugo Mills wrote:
>>> On Mon, Jun 04, 2012 at 08:01:32AM -0400, Maxim Mikheev wrote:
>>>> Thank you for helping.
>>> I'm not sure I can be of much help, but there were a few things
>>> missing from the earlier conversation that I wanted to check the
>>> details of.
>>>
>>>> ~$ uname -a
>>>> Linux s0 3.4.0-030400-generic #201205210521 SMP Mon May 21 09:22:02
>>>> UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
>>>>
>>>> I compiled progs from recent git (week or two ago). I can compile it
>>>> again if there updates.
>>> No, that should be recent enough. I don't think there have been any
>>> major updates since then.
>>>
>>>> The output of btrfs-find-root is pretty long and below:
>>>> max@s0:~$ sudo btrfs-find-root /dev/sdb
>>>> Super think's the tree root is at 5532762525696, chunk root 20979712
>>>> Well block 619435147264 seems great, but generation doesn't match,
>>>> have=8746, want=9096
>>> This is not long enough, unfortunately. At least some of these
>>> should have a list of trees before them. At the moment, it's not
>>> reporting any trees at all. (At least, it should be doing this unless
>>> Chris took that line of code out). Do you get anything extra from
>>> adding a few -v options to the command?
>>>
>>> I would suggest, in the absence of any better ideas, sorting this
>>> list by the "have=" value, and systematically working down from the
>>> largest to the smallest, running btrfs-restore -t $n for each one
>>> (where $n is corresponding block number).
>>>
>>> Hugo.
> [snip]
>
next prev parent reply other threads:[~2012-06-04 16:24 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-29 22:14 Help with recover data Maxim Mikheev
2012-05-29 22:40 ` Help with data recovering Maxim Mikheev
2012-05-29 23:11 ` cwillu
2012-05-29 23:24 ` Maxim Mikheev
2012-05-29 23:36 ` cwillu
2012-05-31 2:02 ` Maxim Mikheev
[not found] ` <CA+WRLO-mRoSXkdd6_ydc2py3JJCnoM4avQNanxDWWntde2Ah0A@mail.gmail.com>
2012-06-01 21:15 ` Maxim Mikheev
[not found] ` <CAGJTRcibT_pufU4tKqbBpBfm8QiuW=dhQ8BAGzQnpxMCa-dOCQ@mail.gmail.com>
2012-06-02 13:43 ` Maxim Mikheev
2012-06-04 1:22 ` Liu Bo
2012-06-04 1:43 ` Maxim Mikheev
2012-06-04 2:16 ` Liu Bo
2012-06-04 2:18 ` Maxim Mikheev
2012-06-04 2:59 ` Liu Bo
2012-06-04 3:13 ` Maxim Mikheev
2012-06-04 4:27 ` Maxim Mikheev
2012-06-04 8:18 ` Arne Jansen
2012-06-04 11:30 ` Maxim Mikheev
2012-06-04 11:32 ` Arne Jansen
2012-06-04 11:43 ` Maxim Mikheev
2012-06-04 11:49 ` Hugo Mills
2012-06-04 12:01 ` Maxim Mikheev
2012-06-04 12:11 ` Hugo Mills
2012-06-04 12:28 ` Maxim Mikheev
2012-06-04 12:34 ` Hugo Mills
2012-06-04 12:37 ` Maxim Mikheev
2012-06-04 16:24 ` Maxim Mikheev [this message]
2012-06-04 17:04 ` Hugo Mills
2012-06-04 17:09 ` Hugo Mills
2012-06-04 18:02 ` Michael
2012-06-04 18:03 ` Maxim Mikheev
2012-06-04 18:37 ` Michael
2012-06-06 16:25 ` Maxim Mikheev
2012-06-07 3:27 ` Maxim Mikheev
2012-06-05 9:55 ` Martin Steigerwald
2012-06-05 9:57 ` Martin Steigerwald
2012-06-04 14:54 ` Ryan C. Underwood
2012-06-04 16:49 ` Maxim Mikheev
2012-06-05 9:59 ` Martin Steigerwald
2012-06-05 10:23 ` Martin Steigerwald
2012-06-05 11:07 ` Helmut Hullen
2012-05-29 23:37 ` Maxim Mikheev
2012-05-29 23:14 ` Help with recover data Felix Blanke
2012-05-29 23:19 ` cwillu
2012-06-04 12:24 ` Stefan Behrens
2012-06-04 12:26 ` Maxim Mikheev
2012-06-04 13:03 ` Stefan Behrens
[not found] ` <4FCCC176.1020007@gmail.com>
2012-06-04 15:01 ` Maxim Mikheev
2012-06-04 15:02 ` Stefan Behrens
2012-06-04 15:08 ` Maxim Mikheev
2012-06-04 15:11 ` Stefan Behrens
2012-06-04 15:26 ` Maxim Mikheev
2012-06-04 17:35 ` Maxim Mikheev
2012-06-04 18:08 ` Stefan Behrens
2012-06-04 18:15 ` Ryan C. Underwood
2012-06-04 12:31 ` Maxim Mikheev
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=4FCCE125.7000004@gmail.com \
--to=mikhmv@gmail.com \
--cc=hugo@carfax.org.uk \
--cc=linux-btrfs@vger.kernel.org \
--cc=liubo2009@cn.fujitsu.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;
as well as URLs for NNTP newsgroup(s).