Problem trying to find out which files could be affected by bad sectors
I regularly check my Linux partitions under Windows with HD Sentinel. It found some bad sectors on my ext4 / partition (/dev/sdf5) and now I am trying to find out which files could be affected to assess the damage.
I found the block size of the ext4 file system:
tune2fs -l /dev/sdf5 | grep Block
which returned 4096.
I checked for bad blocks:
badblocks -b 4096 /dev/sdf5
It found 3 bad blocks, one of them being block number 1692288.
Now to find the affected files I ran:
testb returns 'Block 1692288 marked in use', but icheck (to find the inode) returns '<block not found>'.
What does this mean? Is the filesystem corrupt? e2fsck -f /dev/sdf5 shows the filesystem is OK.