linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BTRFS error: bad tree block start 0 623771648
@ 2017-07-30 16:14 marcel.cochem
  2017-07-31 18:12 ` Liu Bo
  2017-08-01  6:08 ` Roman Mamedov
  0 siblings, 2 replies; 7+ messages in thread
From: marcel.cochem @ 2017-07-30 16:14 UTC (permalink / raw)
  To: linux-btrfs

Hello,

I had to shut down my PC because it hang up, after the next reboot i
got the following error:
    BTRFS error on /dev/nvme0n1p4 bad tree block start 0 623771648
    open_ctree failed
    mount wrong fs type
    bad superblock
    missing codepage or helper program, or other error.

I had no backup (schame on my, now i made a backup of my failed parition)
I can't check or rescure any data, because all btrfs-progs stop with
messages like:

    root@marcel-debug:/mnt# btrfs restore  /dev/nvme0n1p4 /mnt/1
    checksum verify failed on 623771648 found E4E3BDB6 wanted 00000000
    checksum verify failed on 623771648 found E4E3BDB6 wanted 00000000
    bytenr mismatch, want=623771648, have=0
    Couldn't read tree root

or

    root@marcel-debug:/home/marcel/Desktop/btrfs-progs#
./btrfs-find-root /dev/nvme0n1p4
    Couldn't read tree root
    Superblock thinks the generation is 82096
    Superblock thinks the level is 1

My bad installation had kernel 4.11 and my rescue installation has
also 4.11 installed. However the btrfs-progs had some problems
(endless loop for btrfs-find-root), so i decided to compile them
myself with the newest version 4.12 . However neither version works.

I am pretty sure that not all data is lost as i can grep thorugh the
100 GB SSD partition. But my question is, if there is a tool to rescue
all (intact) data and maybe have only a few corrupt files which can't
be recovered.

I put detailed information and commands outputs in pastebin:
https://pastebin.com/7kzjb4Ae

Best regards,
Marcel

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

end of thread, other threads:[~2017-08-02  8:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-30 16:14 BTRFS error: bad tree block start 0 623771648 marcel.cochem
2017-07-31 18:12 ` Liu Bo
2017-08-01  6:04   ` Roman Mamedov
2017-08-01 21:45     ` Liu Bo
2017-08-02  8:30       ` marcel.cochem
2017-08-01  6:08 ` Roman Mamedov
2017-08-02  3:22   ` Duncan

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).