From: Neil Brown <neilb@suse.de>
To: Mikael Abrahamsson <swmike@swm.pp.se>
Cc: Ben Nemec <lists@nemebean.com>, linux-raid@vger.kernel.org
Subject: Re: Replacing a drive in RAID 0
Date: Tue, 3 Aug 2010 16:14:56 +1000 [thread overview]
Message-ID: <20100803161456.31d0f69b@notabene> (raw)
In-Reply-To: <alpine.DEB.1.10.1008030720540.19930@uplift.swm.pp.se>
On Tue, 3 Aug 2010 07:22:01 +0200 (CEST)
Mikael Abrahamsson <swmike@swm.pp.se> wrote:
> On Mon, 2 Aug 2010, Ben Nemec wrote:
>
> > enough to do that, of course). Can I just dd the entire drive over and
> > replace the bad drive? Can the md tools do it somehow? Maybe it's
>
> Yes, you can binary copy the drive like that, that's what I usually do.
Of course you need to be sure that the old and new devices are exactly the
same size. Normally they will but it is worth double checking that the
number of sectors (blockdev --getsize) is exactly the same.
NeilBrown
>
> Use dd_rescue (or ddrescue, they are two different utils) instead of dd in
> case you have any bad blocks.
>
next prev parent reply other threads:[~2010-08-03 6:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-02 22:18 Replacing a drive in RAID 0 Ben Nemec
2010-08-03 5:22 ` Mikael Abrahamsson
2010-08-03 6:14 ` Neil Brown [this message]
2010-08-03 7:46 ` Roman Mamedov
2010-08-03 8:29 ` Neil Brown
2010-08-03 15:28 ` Ben Nemec
2010-08-05 6:59 ` Leslie Rhorer
2010-08-05 14:51 ` Ben Nemec
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=20100803161456.31d0f69b@notabene \
--to=neilb@suse.de \
--cc=linux-raid@vger.kernel.org \
--cc=lists@nemebean.com \
--cc=swmike@swm.pp.se \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).