How to find corrupted files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I had a btrfs system running for a couple of years with an old kernel
(3.14.xx). Recently I have tried to backup it to a remote host using the
send/receive functionality. It results in a couple of kernel oops. I
decided to upgrade the kernel to 3.16 (Debian Jessie) and I was able to
use send/receive without too much problems.

Since the kernel upgrade I have notices a lot of the following lines in
the kernel log:

[145059.990123] BTRFS info (device sda4): csum failed ino 101147 off 1114112 csum 1810207416 expected csum 3082675757
[145060.500612] BTRFS info (device sda4): csum failed ino 101148 off 110592 csum 1418370968 expected csum 496354029

I understand these are corrupted file. By running btrfs scrub, I have
been able to find some of them but I still have 20 inodes with failed
csum. As I have quite a lot of subvolumes (1075, mainly for backup), it
is not easy to find the path to the corrupted files. Is there an easy
way to find these files?

A side note, I have also noticed the following line appearing regularly
in the logs:

[58562.612121] btrfs_readpage_end_io_hook: 12 callbacks suppressed

Do you know what it means?

Many thanks for your help,

Antoine

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux