Hi, Started to get SMART self test errors and wanted to fix them before things would get any worse:
SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Completed: read failure 60% 24805 624048 So I calculated the file sytem block number of the bad LBA according to the following formula: b = (int) ((L-S) * 512 / B) where: b = File System block number B = File system block size in bytes L = LBA of bad sector S = Starting sector of partition as shown by fdisk -lu and (int) denotes the integer part. The bad file system block number turned out to be 950 in my case. However, trying to find out what file this block number belongs to failed (see below, /dev/sda2 contains an ext4 root file system that was mounted as root when debugfs was run): # debugfs debugfs 1.44.5 (15-Dec-2018) debugfs: open /dev/sda2 debugfs: testb 950 Block 950 marked in use debugfs: icheck 950 icheck: Input/output error while calling ext2fs_block_iterate icheck: Can't read next inode while doing inode scan debugfs: quit # Any ideas? Thanks # uname -a Linux srv 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) x86_64 GNU/Linux