linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Neil Brown <neilb@cse.unsw.edu.au>
Cc: Pallai Roland <dap@mail.index.hu>, linux-raid@vger.kernel.org
Subject: Re: [PATCH] proactive raid5 disk replacement for 2.6.11, updated
Date: Thu, 18 Aug 2005 14:56:22 +0400	[thread overview]
Message-ID: <43046956.2040402@tls.msk.ru> (raw)
In-Reply-To: <17156.7305.638579.812295@cse.unsw.edu.au>

Neil Brown wrote:
> Thanks for this.  There are definitely some good ideas here.
> However I think I would like to do it a little bit differently.
> 
> If we want to mirror a single drive in a raid5 array, I would really
> like to do that using the raid1 personality.
> e.g.
>    suspend io
>    remove the drive
>    build a raid1 (with no superblock) using the drive.
>    add that back into the array
>    resume io.
> 
> Then another drive can be added to the raid1 and synced.

This approach does not work if the drive has one or more unreadable
blocks.  An 'initial raid1 resync' can't be completed because it's
impossible to read+copy that sector, but it's pretty much possible
to reconstruct it from other components of raid5.

/mjt

  parent reply	other threads:[~2005-08-18 10:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-17 23:52 [PATCH] proactive raid5 disk replacement for 2.6.11, updated Pallai Roland
2005-08-18  1:55 ` Tyler
2005-08-18  5:28 ` Neil Brown
2005-08-18 10:24   ` Lars Marowsky-Bree
2005-08-18 14:13     ` Pallai Roland
2005-08-18 10:56   ` Michael Tokarev [this message]
2005-08-18 13:46   ` Pallai Roland
2005-08-19 14:58     ` Pallai Roland
2005-08-20 15:35       ` Pallai Roland

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=43046956.2040402@tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=dap@mail.index.hu \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@cse.unsw.edu.au \
    /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).