From: "Carl-Johan Wägner" <carl-johan.wagner@agusta.se>
To: linux-raid@vger.kernel.org
Cc: fafler@gmail.com
Subject: Re: RAID 5 with bad blocks
Date: Mon, 27 Sep 2010 17:43:23 +0200 [thread overview]
Message-ID: <20100926232102.M67000@agusta.se> (raw)
In-Reply-To: <20100925000351.M29572@agusta.se>
A follow up on my suggestion:
> Would it be possible to copy (with 'dd') the device (/dev/sdb) with sector
> errors to a fourth disk (/dev/sde) and then remove the faulty sdb-
> drive and reposition the newly copied sde to sdb's position to have
> this act as the first sdb-drive, now working without any physical
> faults, even if the data is incomplete in sectors; and now being
> possible to recover the third drive (/dev/sdd1)?
'dd' is NOT the program one would want to use for this task.
"ddrescue" is the one!
NB: dd_rescue is not the same program, and may or may not work. Just note that
"apt-get install ddrescue" installs dd_rescue, not ddrescue...
ddrescue is downloaded (with e g curl) from:
# curl ftp.gnu.org/gnu/ddrescue/ddrescue-1.13.tar.gz >ddrescue-1.13.tar.gz
Having installed, copied disk to disk and swapped disks the RAID started ti
rebuild /dev/sdd1 and I have now a clean array again!
next prev parent reply other threads:[~2010-09-27 15:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-25 18:47 RAID 5 with bad blocks Carl-Johan Wägner
2010-09-27 15:43 ` Carl-Johan Wägner [this message]
2010-09-27 20:26 ` Daniel Reurich
-- strict thread matches above, loose matches on Subject: below --
2010-09-17 10:52 Lasse Jensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100926232102.M67000@agusta.se \
--to=carl-johan.wagner@agusta.se \
--cc=fafler@gmail.com \
--cc=linux-raid@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.