我的 ssd 磁盘有问题。这个磁盘使用不到 6m。我在上面安装了 Windows 10,之后又安装了 Debian Linux,并使用 Linux。Windows 很少使用。
我更新了我的 Linux 并重启了系统。然后问题就开始出现了。它给我带来了很多输入/输出错误(我没有图片)。现在我又在另一台装有 Win10 和 Linux 的电脑上连接了磁盘。
SSD 上的情况如下:
Disk /dev/sdb: 223,57 GiB, 240057409536 bytes, 468862128 sectors
Disk model: Patriot Burst El
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x393a909f
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 1126399 1124352 549M 7 HPFS/NTFS/exFAT
/dev/sdb2 1126400 183175167 182048768 86,8G 7 HPFS/NTFS/exFAT
/dev/sdb3 183175168 184262655 1087488 531M 27 Hidden NTFS WinRE
/dev/sdb4 184262656 468862127 284599472 135,7G 5 Extended
/dev/sdb5 184264704 188166143 3901440 1,9G 82 Linux swap / Solaris
/dev/sdb6 188168192 468860927 280692736 133,8G 83 Linux
有时它会显示 /home 文件夹和我的名字,但里面的文件夹是空的。
昨天它显示磁盘上没有分区。从昨天开始使用 deepscan 进行 testdis 操作,但没有成功。今天重启后使用 fdisk -li 看到上面的分区。现在我尝试扫描坏块,但我收到了这个
sudo e2fsck -cfpv /dev/sdb1
e2fsck: Bad magic number in super-block while trying to open /dev/sdb1
/dev/sdb1:
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>
/dev/sdb1 包含一个标记为“系统保留”的 ntfs 文件系统
因此我跳至 sda6,其中有我的 /home 文件夹和重要数据:
star@stars:~$ sudo e2fsck -cfpv /dev/sdb6
/dev/sdb6: recovering journal
Error reading block 27262992 (Input/output error) while reading inode and block bitmaps.
/dev/sdb6: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
Error reading block 2097152 (Input/output error) while reading inode and block bitmaps.
/dev/sdb6: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
Error reading block 10485761 (Input/output error) while reading inode and block bitmaps.
/dev/sdb6: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
Signal (11) SIGSEGV si_code=SEGV_MAPERR fault addr=0x60
e2fsck(+0x31ece)[0x558e5ee78ece]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f4854642520]
/lib/x86_64-linux-gnu/libext2fs.so.2(ext2fs_super_and_bgd_loc2+0x43)[0x7f4854a12cf3]
Error reading block 18874368 (Input/output error) while reading inode and block bitmaps. /lib/x86_64-linux-gnu/libext2fs.so.2(ext2fs_flush2+0x226)[0x7f4854a159d6]
/dev/sdb6: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
/lib/x86_64-linux-gnu/libext2fs.so.2(ext2fs_close2+0x11b)[0x7f4854a1db0b]
/lib/x86_64-linux-gnu/libext2fs.so.2(ext2fs_close_free+0x1a)[0x7f4854a1db9a]
Signal (11) SIGSEGV e2fsck(preenhalt+0x8d)[0x558e5ee6f84d]
si_code=SEGV_MAPERR fault addr=0x3a
e2fsck(+0x36fa9)[0x558e5ee7dfa9]
/lib/x86_64-linux-gnu/libext2fs.so.2(+0x40d0f)[0x7f4854a42d0f]
/lib/x86_64-linux-gnu/libext2fs.so.2(+0x3ca17)[0x7f4854a3ea17]
e2fsck(+0x31ece)[0x558e5ee78ece]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f4854642520]
e2fsck(preenhalt+0x7f)[0x558e5ee6f83f]
e2fsck(+0x36fa9)[0x558e5ee7dfa9]
/lib/x86_64-linux-gnu/libext2fs.so.2(+0x40d0f)[0x7f4854a42d0f]
/lib/x86_64-linux-gnu/libext2fs.so.2(+0x3ca17)[0x7f4854a3ea17]
/lib/x86_64-linux-gnu/libext2fs.so.2(+0x3cce1)[0x7f4854a3ece1]
/lib/x86_64-linux-gnu/libc.so.6(+0x94b43)[0x7f4854694b43]
/lib/x86_64-linux-gnu/libc.so.6(+0x126a00)[0x7f4854726a00]
star@stars:~$
还有什么可以尝试?