我跑了几天的救援,恢复了大约60G。该公司已经放慢了步伐,ipos规模约为9000万次。我又重新开始了,添加了-a100000,它仅用了3个小时就又得到了35G。它开始了相反的阶段,现在它发出了很大的噪音,并且读取的数据很少(上次读取的时间长达2分钟),所以我停止了它。
这是最初的命令:dd救援-n -f /dev/sda /dev/sdc /home/B/Desktop/救援e.log (sdc是一个全新的驱动器)。
我注意到在使用-a100000时,它跳过了磁盘的大部分内容。我想回到第一次,这一次可能是-a50000,并且最大限度地提高了它可以跳过的次数。我非常关心的过度噪音,在结束部分的磁盘(492M)的反向。这是一个损坏的驱动器-磁盘崩溃时,笔记本电脑被丢弃时,它正在运行。它以前不是那样制造噪音的。
(当读取速度降到x字节/秒以下时,-a选项将使它继续前进。)
我不明白-i选项应该做什么。这听起来应该是它的起点,但手册页明确指出,它不是这样的。(“这不是开始模仿的地方。”)但它并没有告诉我它能做什么。(gnu.org...ddrescue_manual.html)
我如何开始第一遍,从磁盘的开始(反正重要的东西在那里),检查最初跳过的部分,往前看?我需要在9000万左右开始,因为它在没有-a选项的情况下完成了第一部分,所以它没有跳过前面。(除非有人有更好的想法,否则我可能会使用最大设置为某物的-a50000。我想在驱动器发生故障之前尽可能地得到大部分。)
更新
我试着添加-i73GiB,但是它从大约48万MB开始前进,而这正是反向停止的地方。所以我阻止了它。
我尝试同时添加-i73GiB和-A,但是它做了同样的事情,-A没有效果。我又停下来了。
(-A:“在救援开始之前,将救援域内所有未修剪和未擦伤的块标记为未试过。”)
我看不出还有什么别的办法可以尝试。
发布于 2019-05-05 13:17:42
我使用以下两个选项来指定要救援的驱动器的部分。在反向模式下,ddrescue从{start位置}+ {size} (如果仍在驱动器内)开始。所以你可以定义一个间隔。
见info ddrescue,
'-i BYTES'
'--input-position=BYTES'
Starting position of the rescue domain in INFILE, in bytes.
Defaults to 0. This is not the point from which ddrescue starts
copying. (For example, if you pass the '--reverse' option to
ddrescue, it starts copying from the end of the rescue domain). In
fill mode it refers to a position in the INFILE of the original
rescue run. See the chapter Fill mode (*note Fill mode::) for
details.
'-s BYTES'
'--size=BYTES'
Maximum size of the rescue domain, in bytes. It limits the amount
of input data to be copied. If ddrescue can't determine the size
of the input file, you may need to specify it with this option.
Note that this option does not specify the size of the resulting
OUTFILE. For example, the following command creates an OUTFILE 300
bytes long, but only writes data on the last 200 bytes:
ddrescue -i 100 -s 200 infile outfile mapfile这样你就可以避免部分驱动器严重损坏。最近,我使用这种方法从两个被严重划伤的磁盘中拯救了一个DVD视频。
https://askubuntu.com/questions/1140699
复制相似问题