我正在尝试从发生故障的 500 GB 硬盘中恢复数据。我尝试使用 ddrescue 并按照以下输出中显示的语法进行操作,但标题中始终出现错误。我该怎么做才能修复或绕过它?
root@ubuntu:/media/ubuntu/MacosBackup/1# ddrescue -d /dev/sdc2 test.img test.logfile
GNU ddrescue 1.23
Press Ctrl-C to interrupt
ipos: 4297 MB, non-trimmed: 3866 kB, current rate: 0 B/s
opos: 4297 MB, non-scraped: 0 B, average rate: 6659 kB/s
non-tried: 496746 MB, bad-sector: 0 B, error rate: 0 B/s
rescued: 2497 MB, bad areas: 0, run time: 6m 14s
pct rescued: 0.50%, read errors: 59, remaining time: 6h 29m
time since last successful read: 15s
Copying non-tried blocks... Pass 1 (forwards)
ddrescue: Write error: Invalid argument
答案1
原来,我在格式化用于存储图像的驱动器时犯了一个错误。我不小心将其格式化为FAT32
,这导致我选择的设置的文件大小限制为 4GB。糟糕!
重新格式化为后EXT4
,大小限制不再存在,到目前为止我已经成功恢复了大约 5%!