无法访问外部硬盘。安装错误。无法读取超级块

无法访问外部硬盘。安装错误。无法读取超级块

我有一个采用 EXT4 文件系统的外置硬盘,我用它来备份我的笔记本电脑并保存几个重要文件。这个硬盘有某种安全层(可能是我的同事用 GParted 准备的),所以我必须使用“sudo”才能写入,而且文件无法用普通的桌面软件读取。

不幸的是,我在这张磁盘上遇到了问题。我无法像往常一样安全地移除磁盘。所以我不得不手动将其与笔记本电脑断开连接。然后,当我再次尝试读取此磁盘时,出现了此处提到的错误:无法安装 IDE HDD - “无法读取超级块”错误消息。此磁盘上的所有内容读取速度变得极其缓慢,我实际上无法使用它。

据我对在线错误的理解,我必须运行以下命令:

fsck -y /dev/sdb1

所以我运行了它大约 12 个小时。它处理了很多东西,但后来我不得不离开,所以我不得不中断无法完成的命令。

当我将此磁盘连接到笔记本电脑时,现在出现以下错误:

Unable to access Disk_name. Error mounting /dev/sdb1 at /media/username/Disk_name : can't read superblock on /dev/sdb1

(其中 Disk_name 是我的硬盘名称)。而且我再也看不到命令​​行上的磁盘了。我只能通过默认桌面用户界面看到它。您知道如何修复或绕过这个问题吗?

我在各种帖子中看到了一些相互矛盾的答案。有人说你必须运行 fsck(无法安装 IDE HDD - “无法读取超级块”错误消息)有人说你不应该这么做(https://unix.stackexchange.com/questions/680299/mount-cant-read-superblock-on-dev-sda5)所以我很困惑...

我也尝试应用这个解决方案(https://www.linuxbabe.com/desktop-linux/fix-cant-read-superblock-error),但它给我留下了错误:

root@laptop:~# sudo e2fsck -b 32768 /dev/sdb1 
e2fsck 1.45.5 (07-Jan-2020)
Superblock needs_recovery flag is clear, but journal has data.
Recovery flag not set in backup superblock, so running journal anyway.
Disk_name: recovering journal
Error reading block 243826716 (Input/output error).  Ignore error<y>? 
no
Disk_name: Input/output error while reading block 243826716

JBD2: Failed to read block at offset 28
e2fsck: Input/output error while recovering journal of Disk_name
Pass 1: Checking inodes, blocks, and sizes
Error reading block 235930218 (Input/output error) while getting next inode from scan.  Ignore error<y>? no
Error while scanning inodes (58991744): Can't read next inode

Disk_name: ***** FILE SYSTEM WAS MODIFIED *****
e2fsck: aborted

Disk_name: ***** FILE SYSTEM WAS MODIFIED *****

我下一步该尝试什么?当系统要求我忽略 e2fsck 的错误时,我应该回答“是”吗?非常感谢您的任何建议。

相关内容