Re: dd failed



On 25/10/2007 23:53, Alan Secker wrote:

I wanted to clone a drive as I have done many times before. I booted from a
knoppix cd and ran dd if=/dev/hde of=/dev/hdg as root. Both drives had been
proven to be sound and bootable before this exercise. The process stopped with the message 'input/output error'. My question is: 'What tests can I make to identify what might have gone wrong?'

sounds like one disk *HAS* got faulty sector(s)

If it comes down to recovering as much data possible from the source disk you might want to try

dd if=/dev/hde of=/dev/hdf conv=noerror,sync

which will carry on past any read errors, substituting zeros for the unreadable sectors, you have to then hope the zeros are in a spot that doesn't matter to much to you :-(
.



Relevant Pages

  • Re: dd failed
    ... Alan Secker wrote: ... been proven to be sound and bootable before this exercise. ... stopped with the message 'input/output error'. ...
    (alt.os.linux)
  • Re: dd failed
    ... Alan Secker wrote: ... been proven to be sound and bootable before this exercise. ... stopped with the message 'input/output error'. ...
    (alt.os.linux)