Can't mount a btrfs partition - checksum verify failed

Hi all,

I can’t mount the second partition of my SSD in Omnia after last update restart …

SSD is devided to 2 partitions - sda1, sda2 both formated btrfs
sda1 for LXC containers is OK
sda2 for other data can’t be mounted after last update reboot :frowning:

:~# fdisk -l /dev/sda
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x04875a77

Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 83888127 83886080 40G 83 Linux
/dev/sda2 83888128 234441647 150553520 71.8G 83 Linux

dmesg when tried to mount :
[313547.286922] BTRFS info (device sda2): disk space caching is enabled
[313547.286940] BTRFS: has skinny extents
[313547.296027] BTRFS: detected SSD devices, enabling SSD mode
[313547.296674] BTRFS warning (device sda2): sda2 checksum verify failed on 7831552 wanted D51F1F2E found 8EE1CCDC level 0
[313547.296738] BTRFS warning (device sda2): failed to read log tree
[313547.363840] BTRFS: open_ctree failed

~# btrfs inspect-internal dump-super /dev/sda2
superblock: bytenr=65536, device=/dev/sda2

csum 0x6a504d77 [match]
bytenr 65536
flags 0x1
( WRITTEN )
magic _BHRfS_M [match]
fsid 552797f9-3393-4c19-bd78-e70187284fd7
label
generation 451109
root 7503872
sys_array_size 97
chunk_root_generation 224153
root_level 0
chunk_root 147456
chunk_root_level 0
log_root 7831552
log_root_transid 0
log_root_level 0
total_bytes 77083402240
bytes_used 201834496
sectorsize 4096
nodesize 16384
leafsize 16384
stripesize 4096
root_dir 6
num_devices 1
compat_flags 0x0
compat_ro_flags 0x0
incompat_flags 0x161
( MIXED_BACKREF |
BIG_METADATA |
EXTENDED_IREF |
SKINNY_METADATA )
csum_type 0
csum_size 4
cache_generation 451109
uuid_tree_generation 451109
dev_item.uuid 9a165bad-1d57-4069-9926-c789518d9953
dev_item.fsid 552797f9-3393-4c19-bd78-e70187284fd7 [match]
dev_item.type 0
dev_item.total_bytes 77083402240
dev_item.bytes_used 3242196992
dev_item.io_align 4096
dev_item.io_width 4096
dev_item.sector_size 4096
dev_item.devid 1
dev_item.dev_group 0
dev_item.seek_speed 0
dev_item.bandwidth 0
dev_item.generation 0

ANY advice what to try to get the sda2 back working without reformat ? Thanks in advance …

Did you tried to recover it with latest btrfs-tools?
btrfs check --fix-crc

no success …

~# btrfs check --fix-crc /dev/sda2
btrfs check: unrecognized option: fix-crc
usage: btrfs check [options]

~# btrfs check --check-data-csum /dev/sda2
Warning, could not drop caches
Warning, could not drop caches
checksum verify failed on 7831552 found 8EE1CCDC wanted D51F1F2E
checksum verify failed on 7831552 found 8EE1CCDC wanted D51F1F2E
Csum didn’t match
Couldn’t setup log root tree
Warning, could not drop caches
Couldn’t open file system