Re: dd failed



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?'

Provided you've got the dd command the right way round :-)
And the one partition is writeable (the knoppix cd leaves partitions
readable but not writeable, so you need a writable partition to write the
image file or the blocks (if you're recovering data). An easy test is to
try an create a directory or file in the partition you're trying to write
to, if you can't do that as root, then dd can't either.
If these are not the problem then probably you've encountered bad blocks. By
default dd will stop in such circumstances, so you need to add conv=noerror.
For disk recovery dd is not particularly useful, it's very slow for large
disk with errors dd_rescue or ddrescue is better IMO.

Why people still insist on doing this with error free partitions, I don't
know when there are perfectly good partitioning utilities such as gparted or
gnome partition editor...


.



Relevant Pages

  • Re: Help! Drive Image 2002 question
    ... >>> have restored my entire primary partition ... >>> to a Drive image file on a different partition. ... You cant restore TO an image file. ... > the logical drives, I used the tools found in Control Panel/ ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: OT: Norton GhostPE 2001 problem
    ... I only know raid 1 mirroring and disk imaging apps (Ghost, Acronis ... Drive Image) for "photocopying" drives or partitions. ... Space is needed for the Acronis image file. ... The destination partition must be equal to or greater than the ...
    (sci.electronics.design)
  • Re: Increasing size of my OS partiton?
    ... Not only is it getting a bit short of working space, ... Partition Magic 7 to set up the partitions shown in that screenshot. ... using PQ Drive Image 2002. ... - I also said in my previous reply where you should park the image file. ...
    (microsoft.public.windowsxp.general)
  • Re: Should I make an image disk?
    ... You keep your photo and music data in a separate location from ... Based on your question about backing up the entire XP partition, ... that the resulting image file is always smaller than the sum of all the data ... A clean installation of XP may be kept on CD for image ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: OT: Norton GhostPE 2001 problem
    ... I only know raid 1 mirroring and disk imaging apps (Ghost, Acronis ... Drive Image) for "photocopying" drives or partitions. ... Space is needed for the Acronis image file. ... The destination partition must be equal to or greater than the ...
    (sci.electronics.design)