我正在尝试恢复突然发生故障的 1TB 硬盘。我分两次运行了 ddrescue。第一个命令是
ubuntu@ubuntu:~$ sudo ddrescue -f /dev/sdb /dev/sda /media/ubuntu/17BE6E9E17BE6E9E/ddr.log
GNU ddrescue 1.19
Press Ctrl-C to interrupt
rescued: 0 B, errsize: 756 MB, current rate: 0 B/s
ipos: 702021 kB, errors: 837, average rate: 0 B/s
opos: 702021 kB, run time: 28.16 m, successful read: 28.16 m ago
Copying non-tried blocks... Pass 3 (forwards)^C
Interrupted by user
因为“获救:0 B”,我决定停下来多读一些书。此时日志文件的输出是
# Rescue Logfile. Created by GNU ddrescue version 1.19
# Command line: ddrescue -f /dev/sdb /dev/sda /media/ubuntu/17BE6E9E17BE6E9E/ddr.log
# Start time: 2016-08-15 06:32:00
# Current time: 2016-08-15 07:00:09
# Copying non-tried blocks... Pass 3 (forwards)
# current_pos current_status
0x29D80000 ?
# pos size status
0x00000000 0x29D80000 *
0x29D80000 0x00BA0000 ?
0x2A920000 0x00010000 *
0x2A930000 0x00800000 ?
[many similar lines...]
0xF6E00000 0x00010000 *
0xF6E10000 0x00010000 ?
0xF6E20000 0x0000BC00 *
我读了更多内容并决定运行更长时间(源驱动器不同,但这不是不正确/偶然的):
ubuntu@ubuntu:~$ sudo ddrescue -f -d /dev/sdc /dev/sda /media/ubuntu/17BE6E9E17BE6E9E/ddr.log
GNU ddrescue 1.19
Press Ctrl-C to interrupt
Initial status (read from logfile)
rescued: 0 B, errsize: 756 MB, errors: 837
Current status
rescued: 0 B, errsize: 4142 MB, current rate: 0 B/s
ipos: 275847 kB, errors: 1, average rate: 0 B/s
opos: 275847 kB, run time: 7.87 h, successful read: 7.87 h ago
Scraping failed blocks... (forwards)^C
Interrupted by user
此命令后的日志是
# Rescue Logfile. Created by GNU ddrescue version 1.19
# Command line: ddrescue -f -d /dev/sdc /dev/sda /media/ubuntu/17BE6E9E17BE6E9E/ddr.log
# Start time: 2016-08-20 02:07:27
# Current time: 2016-08-20 10:00:05
# Scraping failed blocks... (forwards)
# current_pos current_status
0x10711A00 /
# pos size status
0x00000000 0x10711A00 -
0x10711A00 0xE671A000 /
0xF6E2BA00 0x00000200 -
我注意到该驱动器似乎比 1TB 小得多
/0/2/0.0.0 /dev/sdc disk 4142MB ST1000DM003
虽然在运行时听起来并没有发出不寻常的噪音(但在通电时是的)。该驱动器是否已确认已死亡?我觉得奇怪的是驱动器和型号仍然可以被识别。