linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Dan Williams" <dan.j.williams@intel.com>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: RAID rebuild on Create
Date: Mon, 30 Apr 2007 11:19:24 -0700	[thread overview]
Message-ID: <e9c3a7c20704301119v1c69aaf0xb272fe85697934cd@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0704301958530.29151@yvahk01.tjqt.qr>

On 4/30/07, Jan Engelhardt <jengelh@linux01.gwdg.de> wrote:
> Hi list,
>
>
> when a user does `mdadm -C /dev/md0 -l <any> -n <whatever fits>
> <devices>`, the array gets rebuilt for at least RAID1 and RAID5, even if
> the disk contents are most likely not of importance (otherwise we would
> not be creating a raid array right now). Could not this needless resync
> be skipped - what do you think?
>
If you want his behavior you can always create the array with a
'missing' device to hold off the resync process.  Otherwise, if all
disks are available, why not let the array make forward progress to a
protected state?

Also, the resync thread automatically yields to new data coming into
the array, so you can effectively sync an array by writing to all the
blocks.

>
> Jan

--
Dan

  reply	other threads:[~2007-04-30 18:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-30 18:00 RAID rebuild on Create Jan Engelhardt
2007-04-30 18:19 ` Dan Williams [this message]
2007-04-30 18:35   ` Jan Engelhardt
2007-04-30 18:54     ` Patrick_Boyd
2007-04-30 19:27       ` Jan Engelhardt
2007-04-30 20:12 ` David Greaves

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=e9c3a7c20704301119v1c69aaf0xb272fe85697934cd@mail.gmail.com \
    --to=dan.j.williams@intel.com \
    --cc=jengelh@linux01.gwdg.de \
    --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 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).