All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Evans <mjevans1983@gmail.com>
To: Piergiorgio Sartor <piergiorgio.sartor@nexgo.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: Device role question
Date: Fri, 26 Feb 2010 21:56:02 -0800	[thread overview]
Message-ID: <4877c76c1002262156k6675877am79a7da9b63446dc7@mail.gmail.com> (raw)
In-Reply-To: <20100226142331.GA2328@lazy.lzy>

On Fri, Feb 26, 2010 at 6:23 AM, Piergiorgio Sartor
<piergiorgio.sartor@nexgo.de> wrote:
> Hi all,
>
> checking randomly the component of some RAID-10 arrays
> (two disks each), with "mdadm -E /dev/sdXY", I noticed
> the following.
>
> There is an entry reported, called "Device Role".
>
> On one array, the components are defined, respectively, as:
>
> Active device 0
> Active device 1
>
> On another two arrays, it's a bit different.
>
> Active device 0
> spare
>
> Why is it "spare" (all are RAID-10 f2)?
>
> Does it make any difference one or the other role, in
> this type of RAID?
>
> On the other hand, "mdadm -D /dev/mdX" does not seem
> to give any hint on the different roles.
>
> Thanks,
>
> bye,
>
> --
>
> piergiorgio
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

Spare should mean that it is not currently a synced member of the
array; in other words a hot-spare.  As I recall raid10 cannot
currently be grown (or /may/ only be grown with VERY recent
tools+kernels); did you maybe create a single device raid10 and try to
grow it?
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-02-27  5:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-26 14:23 Device role question Piergiorgio Sartor
2010-02-27  5:56 ` Michael Evans [this message]
2010-02-27  8:08   ` Piergiorgio Sartor
2010-02-27  8:55     ` Michael Evans
2010-02-27  9:10       ` Piergiorgio Sartor
2010-02-28  3:34         ` Michael Evans
2010-02-28 10:38           ` Piergiorgio Sartor
2010-02-28  4:41         ` Neil Brown
2010-02-28 10:35           ` Piergiorgio Sartor

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=4877c76c1002262156k6675877am79a7da9b63446dc7@mail.gmail.com \
    --to=mjevans1983@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=piergiorgio.sartor@nexgo.de \
    /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.