从发生故障的外部硬盘驱动器中恢复数据

从发生故障的外部硬盘驱动器中恢复数据

我正在尝试从出现故障的 Seagate 外置硬盘恢复数据。我打算尝试使用ddrescueor safecopy。我目前正在使用卡利。驱动器将无法安装,输出为dmesg

[  657.245471] sd 7:0:0:0: Attached scsi generic sg3 type 0

[  657.245713] sd 7:0:0:0: [sdc] Spinning up disk...

[  668.496738] sd 7:0:0:0: [sdc] 732566645 4096-byte logical blocks: (3.00 TB/2.73 TiB)

[  699.452260] sd 7:0:0:0: tag#1 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN 

[  699.452270] sd 7:0:0:0: tag#1 CDB: Mode Sense(6) 1a 00 3f 00 04 00

[  743.428575] sd 7:0:0:0: Device offlined - not ready after error recovery

[  743.428602] sd 7:0:0:0: [sdc] Write Protect is off

[  743.428606] sd 7:0:0:0: [sdc] Mode Sense: 00 00 00 00

[  743.428617] sd 7:0:0:0: rejecting I/O to offline device

[  743.428625] sd 7:0:0:0: [sdc] Asking for cache data failed

[  743.428627] sd 7:0:0:0: [sdc] Assuming drive cache: write through

[  743.428636] sd 7:0:0:0: [sdc] Optimal transfer size 268431360 bytes

[  743.448448] sd 7:0:0:0: [sdc] Read Capacity(16) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK

[  743.448452] sd 7:0:0:0: [sdc] Sense not available.

[  743.448461] sd 7:0:0:0: [sdc] Read Capacity(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK

当我运行时,fdisk -l显然该设备没有显示。我尝试使用故障驱动器在safecopy --stage1 /dev/sdc /dev/sdb哪里,sdc如所示,dmesg并且sdb是目标驱动器。安全复制失败,因为它找不到sdc.

对前进的道路有任何想法。谢谢。

答案1

首先,请勿尝试以写入模式挂载故障磁盘,因为这可能会导致额外的损坏。尽量保存你能从中得到的东西——这篇文章可能会有所帮助:

https://unix.stackexchange.com/a/617906/439686

相关内容