March 10th, 2014, 3:14

March 10th, 2014, 16:27
March 10th, 2014, 16:42
March 10th, 2014, 16:52
lcoughey wrote:Although I would have just made one clone using professional data recovery tools, here is how I'd deal with your situation.
Step 1 - Clone or copy first image to a new location (this copy will be the first part of the merge)
Step 2 - use ddrescue to generate a log file against the this copy (assuming that the skipped sectors contain zeroes)
March 10th, 2014, 17:03
March 10th, 2014, 17:19
mr_spokk wrote:Clone 50% of image 1 and then the rest of 50% from image 2.
March 10th, 2014, 20:26
March 10th, 2014, 21:19
March 11th, 2014, 4:26

Which tool(s) did you use, and did these tools maintain a log?
March 11th, 2014, 8:01
fzabkar wrote:Assuming that bad sectors are zero-filled, I would try to find some way to OR both images before writing them to a new destination.
March 11th, 2014, 11:44
March 11th, 2014, 12:54
fzabkar wrote:How will ddrescue be able to differentiate between those sectors in the image which contain recovered data from those that contain zero-fills?
It doesn't know if the zero file is read vs unread. But, it shouldn't matter because if it is zeros that were read, overwriting it zeros from the other drive won't matter and if the other drive can't read those sectors, they will still be zeros.
Drive 1 - 123456789000098765xxxx
Drive 2 - xxxx567890000987654321
Log of 1 - 123456789xxxx98765xxxx
Merge with Drive 2 -1234567890000987654321
x = unread sector
green = sectors read a second timeAFAICS, ddrescue will just copy the entire image as is, and the log file will register 100% success.
March 11th, 2014, 13:02
crytoy wrote:So Finally my repeated question rises: if I image an hdd using ddrescue with high bad sector skip factor in the first image, and low bad sector skip factor in the second image, can I compare both hdd images and merge/combine them together.
Can I integrate both High & Low bad sector skip factor
Which tool(s) did you use, and did these tools maintain a log?
![]()
digitalferret you are a genius,
lcoughey you are intelligent,
fzabkar you are smart
March 11th, 2014, 14:16
March 11th, 2014, 16:00
lcoughey wrote:fzabkar wrote:How will ddrescue be able to differentiate between those sectors in the image which contain recovered data from those that contain zero-fills?
It doesn't know if the zero file is read vs unread. But, it shouldn't matter because if it is zeros that were read, overwriting it zeros from the other drive won't matter and if the other drive can't read those sectors, they will still be zeros.
Drive 1 - 123456789000098765xxxx
Drive 2 - xxxx567890000987654321
Log of 1 - 123456789xxxx98765xxxx
Merge with Drive 2 -1234567890000987654321
x = unread sector
green = sectors read a second timeAFAICS, ddrescue will just copy the entire image as is, and the log file will register 100% success.
Does the above help clarify?
March 11th, 2014, 16:47
March 11th, 2014, 18:23
March 12th, 2014, 6:48
March 12th, 2014, 8:39
fzabkar wrote:@lcoughey, in the absence of a log file, and in the absence of a file system analysis, there would be no way for you or any tool to determine whether a particular sector in an image file contained recovered data or otherwise. Assuming the image file were written to a good drive, then it would contain no unreadable sectors, in which case ddrescue would make a perfect copy of it on a third destination. Without a log file, ddrescue would have no way of knowing if sector X in the image file were zero filled, or contained a "BAD" signature, or if it simply contained the stale data that existed on the drive before the image file was written. All readable sectors in the file would be imaged to the third destination as is, regardless of their contents. Therefore the new log file would register 100% success, ie it would be a pointless exercise.
My suggestion would be to compare the two image files and examine the differences. This may help to identify the fill patterns, if any.
If neither image contains fill patterns, and if unrecovered sectors simply contain the stale data that existed on the destination, then there would be no simple way to merge the two images.
March 12th, 2014, 8:45
crytoy wrote:Thanks all for your help, my question was answered![]()
by the way I have created a windows version of DDrescue using cygwin if anyone wants.
Powered by phpBB © phpBB Group.