Quote:
Originally Posted by John0z
1. Connect the external disk to a workstation with a large disk.
2. Boot from Linux and make a copy of the external disk - i.e. using dd
|
Hi John,
What I would commend to you as part of your portfolio of disk recovery techniques
under Linux is rather than do a straight dd is to use GNU ddrescue.
When you perform a straight dd, even if the noerror flag is set, when it hits a bad
sector, it will fill the block with nulls.
Ddrescue does not write zeros to the output when it finds bad sectors in the input, and
does not truncate the output file if not asked to. So, every time you run it on the same
output file, it tries to fill in the gaps without wiping out the data already rescued.
It is very powerful when used with its log file facility and employs an
algorithm which includes the ability to try reading sectors backwards and to
perform multiple retries.
When used with a log file, it can be interrupted at any time and then started
again without loosing the image you have recovered thus far.
Anecdotally, I have used it to recover data from TB sized disks which dd
alone would not have recovered. For example, I have on occasion started with
a disk where megabytes would have been lost with just using a straight dd but
using ddrescue have created a new image where only 16 kilobytes of data was lost
out of the 1 TB. As it is operating, it is most gratifying to watch the error count
drop and drop.
GNU ddrescue web page here -
http://www.gnu.org/software/ddrescue/ddrescue.html
GNU ddrescue man page here -
http://www.gnu.org/software/ddrescue...ue_manual.html
ddrescue appears on most of the standard Linux recovery distributions these days.