[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dd for failing discs?
From: |
Pádraig Brady |
Subject: |
Re: dd for failing discs? |
Date: |
Wed, 12 Feb 2014 09:31:59 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
On 02/12/2014 08:08 AM, Bernhard Voelker wrote:
> In various mailing list threads about failing discs like [1],
> the advices for trying to rescue as much data as possible
> always mention gnu_ddrescue, ddrescue or dd_rescue, and
> often claim that plain dd is a bad choice (not in this
> case).
>
> [1] http://lists.opensuse.org/opensuse/2014-02/msg00424.html
>
> Would it really be that bad to use something like the following?
>
> dd if=/dev/sda1 of=sda1.img conv=noerror iflag=fullblock
>
> If this is true, we could add a link like
> http://www.gnu.org/software/ddrescue/
> into the Texinfo manual, otherwise, we should add an example
> like the above.
This was discussed in http://bugs.gnu.org/6667
You would need conv=sync to pad out the unreadable parts.
The example from there would be useful in the docs.
> (AFAIK tools like ddrescue try an adaptive approach for
> 'ibs' values on failing sectors, and have other sophisticated
> features like backup merging - admitted.)
Right, so would be good to mention along with the example.
thanks,
Pádraig.