我的计算机的主 SSD 耗尽了备用块,因此拒绝 Windows 的任何/所有写入操作。这导致了您所期望的所有问题以及很多挫败感。
此后我更换了 SSD 并重新安装了 Windows,但现在我需要从该驱动器恢复数据。
驱动器可读 - 所有块均可读取。驱动器将拒绝写入操作。
我已将dd
分区 ( /dev/sdb4
) 中的所有 1.8 TB 存储到一个文件中,以便可以脱机工作。
但现在我需要恢复数据。
[root@VintageWarlord Temporary]# mount.ntfs-3g -o force,ro sdb4.image /mnt/test
$MFTMirr does not match $MFT (record 3).
Failed to mount '/home/christopher/Temporary/sdb4.image': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
(我尝试过mount.ntfs
其他迭代也无济于事,并且在尝试直接从 SSD 挂载时遇到相同的错误)。
它真的非常不喜欢这个卷。 AFAIK 该卷未经过 Bitlocker 加密。
[root@VintageWarlord Temporary]# hexdump -C sdb4.image | more
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 b0 11 00 |........?.......|
00000020 00 00 00 00 80 00 80 00 f6 52 be e8 00 00 00 00 |.........R......|
00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 de 9f ff 0e bf ff 0e 4c |...............L|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|
00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|
00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
00000200 07 00 42 00 4f 00 4f 00 54 00 4d 00 47 00 52 00 |..B.O.O.T.M.G.R.|
00000210 04 00 24 00 49 00 33 00 30 00 00 d4 00 00 00 24 |..$.I.3.0......$|
00000220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000250 00 00 00 00 00 00 e9 c0 00 90 05 00 4e 00 54 00 |............N.T.|
00000260 4c 00 44 00 52 00 07 00 42 00 4f 00 4f 00 54 00 |L.D.R...B.O.O.T.|
00000270 54 00 47 00 54 00 07 00 42 00 4f 00 4f 00 54 00 |T.G.T...B.O.O.T.|
00000280 4e 00 58 00 54 00 00 00 00 00 00 00 00 00 00 00 |N.X.T...........|
00000290 00 00 00 00 00 00 00 00 00 00 0d 0a 41 6e 20 6f |............An o|
000002a0 70 65 72 61 74 69 6e 67 20 73 79 73 74 65 6d 20 |perating system |
000002b0 77 61 73 6e 27 74 20 66 6f 75 6e 64 2e 20 54 72 |wasn't found. Tr|
000002c0 79 20 64 69 73 63 6f 6e 6e 65 63 74 69 6e 67 20 |y disconnecting |
000002d0 61 6e 79 20 64 72 69 76 65 73 20 74 68 61 74 20 |any drives that |
000002e0 64 6f 6e 27 74 0d 0a 63 6f 6e 74 61 69 6e 20 61 |don't..contain a|
000002f0 6e 20 6f 70 65 72 61 74 69 6e 67 20 73 79 73 74 |n operating syst|
00000300 65 6d 2e 00 00 00 00 00 00 00 00 00 00 00 00 00 |em..............|
此时,我并不关心让该驱动器恢复运行,我只想要其中的数据。我可以做一些tar -xf sdb4.image .
我绝对会做的事情。我没有 2TB 驱动器,我只能对其进行映像,然后运行 ntfsfix,然后复制数据,但如果需要的话,我可以购买一个。
如何恢复这些数据(最好不购买硬件)?我有足够的存储空间来存储图像或图像的处理版本,但没有空闲的完整驱动器可以将dd
数据返回。
答案1
我的建议是购买新磁盘。如果您愿意,可以选择旋转金属,但大约 3TB-4TB。首先,用它来ddrescue
构建一个可以用Windows系统修正的磁盘映像。然后,完成此操作并检索丢失的数据后,将其重新用于定期备份。