|
From: | Pádraig Brady |
Subject: | Re: dd: it doesn't continue after errors |
Date: | Fri, 28 Dec 2012 16:02:14 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |