if you use btrfs and have a 5.2+ kernel their is a new feature called "tree checker"
if you have old files it seems that older kernels would some times get the "atime" of the file wrong as in my case a "atime" of 2025
this makes "Tree checker" throw an error and block the file/files .
you can see the errors in "dmesg" after opening a directory with the offending files or immediately after booting if bad enough.
https://www.kubuntuforums.net/showth...-3-0-12-kernel
if you can boot to an older kernel (5.0 is ok) that's not affected "cp -r <some file/directory> <some other directoy> delete original , move back" will fix it .
one of the kernel devs working on Tree checker gave me that workaround and is even now patching for it .
apparently I'm one of 2-3 people that have reported it so far according to 2 patch emails I got from him today. (I have no idea how to apply a patch) probably just a info email that he included me in for the report
the "dump" in the thread linked to will show file names as well so making finding the directory easier , of course replace the #string with the # of the block reported in your error .
well thought I'd just give a FYI for yall case ya run into it .
VINNY
if you have old files it seems that older kernels would some times get the "atime" of the file wrong as in my case a "atime" of 2025
this makes "Tree checker" throw an error and block the file/files .
you can see the errors in "dmesg" after opening a directory with the offending files or immediately after booting if bad enough.
https://www.kubuntuforums.net/showth...-3-0-12-kernel
if you can boot to an older kernel (5.0 is ok) that's not affected "cp -r <some file/directory> <some other directoy> delete original , move back" will fix it .
one of the kernel devs working on Tree checker gave me that workaround and is even now patching for it .
apparently I'm one of 2-3 people that have reported it so far according to 2 patch emails I got from him today. (I have no idea how to apply a patch) probably just a info email that he included me in for the report
the "dump" in the thread linked to will show file names as well so making finding the directory easier , of course replace the #string with the # of the block reported in your error .
Code:
[ 476.437134] BTRFS error (device sdb1): [COLOR=#ff0000]block=150186876928[/COLOR] read time tree block corruption detected [ 476.437323] BTRFS critical (device sdb1): corrupt leaf: root=5 [COLOR=#ff0000]block=150186876928[/COLOR] slot=3 ino=49938688, invalid inode generation: has 18446744073709551492 expect [0, 80501]
VINNY
Comment