我该如何修复这样的消息(在 dmesg 命令后读取)?
EXT4-fs error (device hdb1): ext4_lookup: deleted inode referenced: 119197
EXT4-fs error (device hdb1): ext4_free_inode: bit already cleared for inode 119198
EXT4-fs error (device hdb1): ext4_lookup: deleted inode referenced: 119197
EXT4-fs error (device hdb1): ext4_free_inode: bit already cleared for inode 119217
EXT4-fs warning (device hdb1): ext4_unlink: Deleting nonexistent file (119196), 0
EXT4-fs error (device hdb1): ext4_free_inode: bit already cleared for inode 119201
EXT4-fs error (device hdb1): ext4_lookup: deleted inode referenced: 119197
EXT4-fs error (device hdb1): ext4_lookup: deleted inode referenced: 119197
EXT4-fs error (device hdb1): ext4_lookup: deleted inode referenced: 119197
EXT4-fs error (device hdb1): ext4_lookup: deleted inode referenced: 119197
EXT4-fs error (device hdb1): ext4_lookup: deleted inode referenced: 119197
EXT4-fs error (device hdb1): ext4_lookup: deleted inode referenced: 119197
似乎无法检索(或删除)一堆文件。有什么建议吗?
答案1
看起来像是一个损坏的 ext4 文件系统。您使用的是什么内核?
您是否尝试过文件系统检查,即umount /dev/hdb1
?e2fsck /dev/hdb1
输出是什么?
如果/dev/hdb1
无法卸载(因为系统需要它,例如/
或/usr
),则应尝试以只读方式挂载。如果这也不行,则必须启动救援系统。
(本来想将此作为评论发布,但我缺乏声誉点。)