coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dd: it doesn't continue after errors


From: Bernhard Voelker
Subject: Re: dd: it doesn't continue after errors
Date: Fri, 28 Dec 2012 17:29:38 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 12/28/2012 12:41 PM, YuGiOhJCJ Mailing-List wrote:
> 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?

You mean your hard disk is dying and you want to overwrite it with NULs?

As you most probably will throw it away anyway, why not
simply use a hammer to destroy your sensitive data?
And maybe using a huge magnet before or after that ... ;-)

Otherwise, the ddrescue's are the right tools (as Padraig already mentioned).
dd_rescue: http://www.garloff.de/kurt/linux/ddrescue/ or
GNU ddrescue: http://www.gnu.org/software/ddrescue/ddrescue.html

Have a nice day,
Berny



reply via email to

[Prev in Thread] Current Thread [Next in Thread]