挂载的 USB 磁盘输入/输出错误

挂载的 USB 磁盘输入/输出错误

我的计算机上安装了一个外部 USB 磁盘,几个小时或几天内一切都运行正常,但最终我无法再访问该磁盘。当我尝试列出已安装的目录时,我得到了

ls: reading directory .: Input/output error

dmesg 显示:

[156100.871322] EXT4-fs warning (device sda1): __ext4_read_dirblock:908: error reading directory block (ino 2, block 0)
[156100.871465] EXT4-fs error (device sda1): __ext4_get_inode_loc:3928: inode #2: block 1057: comm ls: unable to read itable block
[156100.887673] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4868: IO failure
[156106.537551] Aborting journal on device sda1-8.
[156106.537607] Buffer I/O error on device sda1, logical block 121667584
[156106.537622] lost page write due to I/O error on sda1
[156106.537638] JBD2: Error -5 detected when updating journal superblock for sda1-8.

磁盘上似乎有坏块,但我太菜鸟了,无法正确解读这些消息。如果是这种情况(或某些相关情况),我该如何最好地修复它们?

相关内容