我的硬盘崩溃了,想使用 safecopy 恢复数据。硬盘大小为 2TB,我使用以下命令启动 safecopy:
safecopy --stage1 /media/ubuntu/086ACF266ACF0F7E /media/ubuntu/externaldrive/diskimage-stage1.img
打印几天后,XXXXXXXXXX....
命令终止并显示以下输出:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [1953363484]
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [1953363525]
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [1953363566]
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [1953363607]
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [1953363648]
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [1953363689]
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [1953363730]
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [1953363771]
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [1953363812]
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [1953363853]
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [1953363894]
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [1953363935]
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [1953363976]
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [1953364017]
XXXXXXXXXXXXXXXXXX ;-} 0%
Error: write to output failed : No space left on device
}[1953364035](+8000979087360)
Aborted because of error!
Recovered bad blocks: 0
Unrecoverable bad blocks (bytes): 1953364035 (8000979087360)
Blocks (bytes) copied: 1953364034 (8000979083264)
这对我来说似乎有点奇怪,因为我保存镜像文件的外部硬盘是 8TB。然而,镜像文件似乎真的那么大:
ls -lah /media/ubuntu/externaldrive/ | grep img
-rwxrwxrwx 1 ubuntu ubuntu 7,3T Jan 18 08:06 diskimage-stage1.img
同样奇怪的是,safecopy 的块计数器停在,1953364017
但是损坏硬盘的 df 显示,只有1952950268
块:
df /media/ubuntu/086ACF266ACF0F7E/
Dateisystem 1K-Blöcke Benutzt Verfügbar Verw% Eingehängt auf
/dev/sda2 1952950268 717184952 1235765316 37% /media/ubuntu/086ACF266ACF0F7E
我不明白这里发生了什么。有人能帮我理解一下吗?为什么 2TB 硬盘的映像会超过 8TB?我使用 safecopy 的方式是否错误?
谢谢阅读!:)