On my BTRFS filesystem, I have a problem with block id #43231330304.

BTRFS critical (device sda2): corrupt leaf, slot offset bad: block=43231330304,root=1, slot=47

I want to know which files are part of this block. How to do this?


To identify the corrupted files, first run:

btrfs scrub status /mount-point

then check the path in dmesg:

BTRFS: i/o error at logical 167135232000 on dev /dev/sda2, sector 213189792, root 5, inode 2963892, offset 7700480, length 4096, links 1 (path: /home/foo...)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.