All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felix Blanke <felixblanke@gmail.com>
To: Maxim Mikheev <mikhmv@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Help with recover data
Date: Wed, 30 May 2012 01:14:14 +0200	[thread overview]
Message-ID: <4FC55846.1060407@gmail.com> (raw)
In-Reply-To: <4FC54A5D.8000600@gmail.com>



On 5/30/12 12:14 AM, Maxim Mikheev wrote:
> Hi Everyone,
>
> I recently decided to use btrfs. It works perfectly for a week even
> under heavy load. Yesterday I destroyed backups as cannot afford to have
> ~10TB in backups. I decided to switch on Btrfs because it was announced
> that it stable already
> I need to recover ~5TB data, this data is important and I do not have
> backups....
>

Just out of curiosity: Who announced that BTRFS is stable already?! The 
kernel says something different and there is still no 100% working fsck 
for btrfs. Imho it is far away from being stable :)

And btw: Even it would be stable, allways keep backups for important 
data ffs! I don't understand why there are still technical experienced 
people who don't do backups :/ Imho if you don't do backups from a 
portion of data they are considered not to be important.

>
> 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
>
> sudo mount -o recovery /dev/sdb /tank
> mount: wrong fs type, bad option, bad superblock on /dev/sdb,
> missing codepage or helper program, or other error
> In some cases useful info is found in syslog - try
> dmesg | tail or so
>
> dmesg:
> [ 9612.971149] device fsid c9776e19-37eb-4f9c-bd6b-04e8dde97682 devid 2
> transid 9096 /dev/sdb
> [ 9613.048476] btrfs: enabling auto recovery
> [ 9613.048482] btrfs: disk space caching is enabled
> [ 9621.172540] parent transid verify failed on 5468060241920 wanted 9096
> found 7621
> [ 9621.181369] parent transid verify failed on 5468060241920 wanted 9096
> found 7621
> [ 9621.182167] btrfs read error corrected: ino 1 off 5468060241920 (dev
> /dev/sdd sector 2143292648)
> [ 9621.182181] Failed to read block groups: -5
> [ 9621.193680] btrfs: open_ctree failed
>
> sudo /usr/local/bin/btrfs-find-root /dev/sdb
> ...................................
> Well block 4455562448896 seems great, but generation doesn't match,
> have=9092, want=9096
> Well block 4455568302080 seems great, but generation doesn't match,
> have=9091, want=9096
> Well block 4848395739136 seems great, but generation doesn't match,
> have=9093, want=9096
> Well block 4923796594688 seems great, but generation doesn't match,
> have=9094, want=9096
> Well block 4923798065152 seems great, but generation doesn't match,
> have=9095, want=9096
> Found tree root at 5532762525696
>
>
> $ sudo btrfs-restore -v -t 4923798065152 /dev/sdb ./
> parent transid verify failed on 4923798065152 wanted 9096 found 9095
> parent transid verify failed on 4923798065152 wanted 9096 found 9095
> parent transid verify failed on 4923798065152 wanted 9096 found 9095
> parent transid verify failed on 4923798065152 wanted 9096 found 9095
> Ignoring transid failure
> Root objectid is 5
> Restoring ./Irina
> Restoring ./Irina/.idmapdir2
> Skipping existing file ./Irina/.idmapdir2/4.bucket.lock
> If you wish to overwrite use the -o option to overwrite
> Skipping existing file ./Irina/.idmapdir2/7.bucket
> Skipping existing file ./Irina/.idmapdir2/15.bucket
> Skipping existing file ./Irina/.idmapdir2/12.bucket.lock
> Skipping existing file ./Irina/.idmapdir2/cap.txt
> Skipping existing file ./Irina/.idmapdir2/5.bucket
> Restoring ./Irina/.idmapdir2/10.bucket.lock
> Restoring ./Irina/.idmapdir2/6.bucket.lock
> Restoring ./Irina/.idmapdir2/8.bucket
> ret is -3
>
>
> sudo btrfs-zero-log /dev/sdb
> ...........................
> parent transid verify failed on 5468231311360 wanted 9096 found 7621
> parent transid verify failed on 5468231311360 wanted 9096 found 7621
> parent transid verify failed on 5468060102656 wanted 9096 found 7621
> Ignoring transid failure
> leaf parent key incorrect 59310080
> btrfs-zero-log: extent-tree.c:2578: alloc_reserved_tree_block: Assertion
> `!(ret)' failed.
>
> Help me please.....
>
> Max
> --
> 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

  parent reply	other threads:[~2012-05-29 23:14 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
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 ` Felix Blanke [this message]
2012-05-29 23:19   ` Help with recover data 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=4FC55846.1060407@gmail.com \
    --to=felixblanke@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=mikhmv@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.