On 12/28/2012 11:41 AM, YuGiOhJCJ Mailing-List wrote:
Hello,

I am using dd (coreutils) 8.11 on a GNU/Linux operating system.

I am trying to blank a 160 GB hard disk drive but I got an error and dd doesn't 
want to continue:
$ sudo dd if=/dev/zero of=/dev/sdb conv=noerror,sync
dd: writing to `/dev/sdb': Input/output error
6160537+0 records in
6160536+0 records out
3154194432 bytes (3.2 GB) copied, 209.528 s, 15.1 MB/s

Only 3.2 GB have been copied...

Have you any idea on how to force dd to continue after errors?

So this is a specialized operation not currently
implemented by dd. For example in the case of errors,
you will want to retry and try smaller black sizes around
the problematic area and pad out the missing data etc.
Please look at ddrescue or dd_rescue to achieve this.

thanks,
Pádraig.

Reply via email to