Skip to contentSkip to conversation

Can't mount or recover! Help! ERROR: cannot read chunk root ERROR: cannot open file system

DISCUSSION [email protected] 1 participant 1 message Jun 21, 2019 1 message not in the archive Btrfs file system

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

[root@TYOMIX tyomix]# btrfs restore -D /dev/sda3 /dev/null checksum verify failed on 1048576 found E4E3BDB6 wanted 00000000 checksum verify failed on 1048576 found E4E3BDB6 wanted 00000000 bad tree block 1048576, bytenr mismatch, want=1048576, have=0
ERROR: cannot read chunk root
Could not open root, trying backup super
checksum verify failed on 1048576 found E4E3BDB6 wanted 00000000 checksum verify failed on 1048576 found E4E3BDB6 wanted 00000000 bad tree block 1048576, bytenr mismatch, want=1048576, have=0
ERROR: cannot read chunk root
Could not open root, trying backup super
ERROR: superblock bytenr 274877906944 is larger than device size 243400704000 Could not open root, trying backup super
[root@TYOMIX tyomix]#

Jun 22, 2019, 1:46 AM by [email protected]:

Quoted 26 lines

[root@TYOMIX tyomix]# mount -t btrfs -o ro,recovery /dev/sda3 /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sda3, missing codepage or helper program, or other error. [root@TYOMIX tyomix]# mount -t btrfs -o ro,usebackuproot /dev/sda3 /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sda3, missing codepage or helper program, or other error. [root@TYOMIX tyomix]#  btrfs check /dev/sda3
Opening filesystem to check...
checksum verify failed on 1048576 found E4E3BDB6 wanted 00000000
checksum verify failed on 1048576 found E4E3BDB6 wanted 00000000
bad tree block 1048576, bytenr mismatch, want=1048576, have=0
ERROR: cannot read chunk root
ERROR: cannot open file system
[root@TYOMIX tyomix]#   uname -a
Linux TYOMIX 5.1.9-arch1-1-ARCH #1 SMP PREEMPT Tue Jun 11 16:18:09 UTC 2019 x86_64 GNU/Linux [root@TYOMIX tyomix]#   btrfs --version
btrfs-progs v5.1
[root@TYOMIX tyomix]#   btrfs fi show
Label: 'Extra'  uuid: 23a08cb0-5289-407f-a1c3-192709bb9476
        Total devices 1 FS bytes used 96.19GiB
        devid    1 size 107.42GiB used 99.02GiB path /dev/sdc1

Label: 'Data'  uuid: 2bff7854-bbe0-4368-bf46-8f191805d9ca Total devices 1 FS bytes used 171.19GiB
        devid    1 size 226.68GiB used 223.01GiB path /dev/sda3