Hi! I cannot mount my filesystem anymore. The problem started with it going into read-only mode after the filesystem accidentally became full. At some point the system crashed and after that I got this error. Is it possible to recover the filesystem or at least recover some data from it? Here is some information from the system: $ uname -a Linux localhost.localdomain 4.8.6-300.fc25.x86_64 #1 SMP Tue Nov 1 12:36:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux $ btrfs --version btrfs-progs v4.6.1 $ sudo mount /dev/sda4 /mnt mount: wrong fs type, bad option, bad superblock on /dev/sda4, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so. $ sudo btrfs fi show Label: 'fedora' uuid: 3ddc9cf1-ff3f-4081-900a-4f732838c31b Total devices 1 FS bytes used 208.67GiB devid 1 size 230.04GiB used 212.06GiB path /dev/sda4 $ dmesg | grep -i btrfs [ 5.747551] Btrfs loaded, crc32c=crc32c-intel [ 5.748632] BTRFS: device label fedora devid 1 transid 649633 /dev/sda4 [ 48.663727] BTRFS info (device sda4): disk space caching is enabled [ 48.665184] BTRFS error (device sda4): bad tree block start 0 1234052513792 [ 48.665194] BTRFS warning (device sda4): failed to read tree root [ 48.680625] BTRFS: open_ctree failed $ sudo btrfs check /dev/sda4 checksum verify failed on 1234052513792 found E4E3BDB6 wanted 00000000 checksum verify failed on 1234052513792 found E4E3BDB6 wanted 00000000 bytenr mismatch, want=1234052513792, have=0 Couldn't read tree root Couldn't open file system $ sudo btrfs restore -l /dev/sda4 checksum verify failed on 1234052513792 found E4E3BDB6 wanted 00000000 checksum verify failed on 1234052513792 found E4E3BDB6 wanted 00000000 bytenr mismatch, want=1234052513792, have=0 Couldn't read tree root Could not open root, trying backup super checksum verify failed on 1234052513792 found E4E3BDB6 wanted 00000000 checksum verify failed on 1234052513792 found E4E3BDB6 wanted 00000000 bytenr mismatch, want=1234052513792, have=0 Couldn't read tree root Could not open root, trying backup super Superblock bytenr is larger than device size Could not open root, trying backup super -- Wictor Lund
Attachment:
pgpfaAWBV61Cg.pgp
Description: OpenPGP digital signatur
