|
dd retry on error?
I am trying to backup a hard drive partition with dd, but having very odd results. It stops with an Input/Output error, but not always on the same point. (Sometimes 300-some MB, sometimes after 1 or 2 GB). I know there's the sync and noerror options to keep reading after an error and just write 0's to the file, but that solution wouldn't be good for me since it seems that certain things are only unreadable sometimes. Is there any way to simply make dd retry a block if it fails? Alternatively, is there any other good util for making an image of total drive or drive partition (ideally such that I can mount the image as a loop device just like with a dd image)?
For more info on the weird drive: I am able to e2fsck the partition just fine. I haven't actually had any problems with it before. I just can't seem to back it up.
Last edited by SDraconis; 06-11-2005 at 04:26 PM.
|