MultiDrive – free backup, clone & wipe disk utility from Atola Technology

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Combining/Merging HDD Images
PostPosted: March 13th, 2014, 15:21 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 16960
Location: Australia
lcoughey wrote:
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.

I've used the auto generate to create a log file many times over...it has always worked. But, I always write to a blank drive and don't write any patterns to the unread sectors. If you wrote a pattern to the unread sectors (ie, unread), you would need to add another step of searching those sectors our and overwriting them with zeros....then generate the log.

Ddrescue doesn't look for fill patterns or analyse the data in any way before copying a sector. Therefore, in the absence of the original logs, it would be nonsensical to run ddrescue against two image files in the expectation that you could somehow merge them. All you would be doing is verifying whether the image files themselves occupy bad sectors.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Combining/Merging HDD Images
PostPosted: March 13th, 2014, 15:32 
Offline
User avatar

Joined: February 9th, 2009, 16:13
Posts: 2574
Location: Ontario, Canada
fzabkar wrote:
Ddrescue doesn't look for fill patterns or analyse the data in any way before copying a sector. Therefore, in the absence of the original logs, it would be nonsensical to run ddrescue against two image files in the expectation that you could somehow merge them. All you would be doing is verifying whether the image files themselves occupy bad sectors.

ddrescue --generate-mode <source> <copyofimage1> <newlog>
That WILL read the copyofimage1 and CREATE a new log based on the partial image, marking only the sectors filled with zeros as unread.

Then you run:
ddrescue <image2> <copyofimage1> <newlog>
That WILL ONLY READ the zero filled sectors of the first image from the second image to the merged image (copyofimage1).

_________________
Luke
Recovery Force Data Recovery


Top
 Profile  
 
 Post subject: Re: Combining/Merging HDD Images
PostPosted: March 19th, 2014, 13:10 
Offline

Joined: November 16th, 2007, 19:42
Posts: 92
crytoy wrote:
Thanks all for your help, my question was answered :D
by the way I have created a windows version of DDrescue using cygwin if anyone wants.


I use and recommend the tool,
but PLEASE don't use in Windows.

Usualy it update the FS.

You can recover in Linux, MacOSX or any BSD version.

They don't mess with the FS ...unless you mount the Disk.


Best Regards,

Neuron


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot], Pi0tR, skinbob and 69 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group