btrfs
btrfs copied to clipboard
Incompatibility Winbtrfs/Linux : backpointer/ref mismatch, free space cache, missing csum
WinBTRFS 1.77, used ntfs2btrfs to convert 2 days ago. Running Manjaro Linux on kernel 5.12 with btrfs-tools 5.11 Correct Windows reading and writing. On Linux mounting takes a few seconds, but it starts on rw mode successfully. It seems that some writing is possible, whenever I try to uncompress a big zip file, it falls back to readonly.
btrfs check
[1/7] checking root items
[2/7] checking extents
ref mismatch on [8607563878400 88502272] extent item 0, found 1
data backref 8607563878400 root 5 owner 521 offset 0 num_refs 0 not found in extent tree
incorrect local backref count on 8607563878400 root 5 owner 521 offset 0 found 1 wanted 0 back 0x558a5124afa0
backpointer mismatch on [8607563878400 88502272]
ref mismatch on [8607652380672 134217728] extent item 0, found 1
data backref 8607652380672 root 5 owner 521 offset 88502272 num_refs 0 not found in extent tree
incorrect local backref count on 8607652380672 root 5 owner 521 offset 88502272 found 1 wanted 0 back 0x558a6b87b9a0
backpointer mismatch on [8607652380672 134217728]
ref mismatch on [8607786598400 94461952] extent item 0, found 1
data backref 8607786598400 root 5 owner 521 offset 222720000 num_refs 0 not found in extent tree
incorrect local backref count on 8607786598400 root 5 owner 521 offset 222720000 found 1 wanted 0 back 0x558a6be4c2b0
backpointer mismatch on [8607786598400 94461952]
ref mismatch on [11297762250752 16052224] extent item 1, found 2
data backref 11297762250752 root 5 owner 691186 offset 286973952 num_refs 0 not found in extent tree
incorrect local backref count on 11297762250752 root 5 owner 691186 offset 286973952 found 1 wanted 0 back 0x558a59424860
backref disk bytenr does not match extent record, bytenr=11297762250752, ref bytenr=11297768337408
backref bytes do not match extent backref, bytenr=11297762250752, ref bytes=16052224, backref bytes=18446744073703464960
backpointer mismatch on [11297762250752 16052224]
ref mismatch on [11398785675264 43638784] extent item 1, found 2
data backref 11398785675264 root 5 owner 691597 offset 509595648 num_refs 0 not found in extent tree
incorrect local backref count on 11398785675264 root 5 owner 691597 offset 509595648 found 1 wanted 0 back 0x558a69885b80
backref disk bytenr does not match extent record, bytenr=11398785675264, ref bytenr=11398804176896
backref bytes do not match extent backref, bytenr=11398785675264, ref bytes=43638784, backref bytes=18446744073691049984
backpointer mismatch on [11398785675264 43638784]
ERROR: errors found in extent allocation tree or chunk allocation
[3/7] checking free space cache
block group 1048576 has wrong amount of free space, free space cache has 458752 block group has 327680
ERROR: free space cache has more free space than block group item, this could leads to serious corruption, please contact btrfs developers
failed to load free space cache for block group 1048576
[4/7] checking fs roots
root 5 inode 521 errors 1000, some csum missing
root 5 inode 691186 errors 1000, some csum missing
root 5 inode 691597 errors 1080, file extent overlap, some csum missing
ERROR: errors found in fs roots
found 8535173419008 bytes used, error(s) found
total csum bytes: 8321186400
total tree bytes: 9730621440
total fs tree bytes: 752599040
total extent tree bytes: 277086208
btree space waste bytes: 344504428
file data blocks allocated: 16396152848384
referenced 16387041349632
Seems that it got worse when I tried to copy the data to another HDD. I was on Windows, and the drive unmounted. Now it doesn't mount in Linux at all, and on Windows, it's unusable if the drive is plugged in (it's a external HDD). Luckily the data isn't too important, but I'm copying what I can using btrfs restore. Still, I want to know if I can provide some other information that could be useful before I reformat.
Closing old issues