All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wols Lists <antlists@youngman.org.uk>
To: WNSDEV <pete@wnsdev.com>, linux-raid@vger.kernel.org
Subject: Re: Linux raid wiki
Date: Fri, 23 Sep 2016 19:43:10 +0100	[thread overview]
Message-ID: <57E577BE.8080101@youngman.org.uk> (raw)
In-Reply-To: <002a01d215c0$e3f20980$abd61c80$@wnsdev.com>

Thanks.

My understanding of role numbers is that they are the order of the disks
in which stripes are written, so role 0 has the first stripe, role 1 the
second, etc etc.

This is *normally* irrelevant, but should the array ever get trashed,
the disks need to be listed *in* *that* *order* in a new --create statement.

Can someone - Neil? Phil? - please confirm I've understood that
correctly before I update anything ...

(and I will be posting updates to the list - anything I'm not sure of I
will be asking here to check I get it right :-)

Cheers,
Wol

On 23/09/16 18:35, WNSDEV wrote:
> Hi Wol,
> 
> Thanks for your work on the wiki... I'm sending a virtual bouquet.   I've been tracking down an issue regarding role numbers which I've posted to the list http://marc.info/?l=linux-raid&m=147439325405842&w=2.  In that process I've come across other postings that say information in the wiki is incorrect so maybe this is an opportunity to update this part of the wiki.
> 
> According to  https://raid.wiki.kernel.org/index.php/Mdstat  we find:
> 
> "The raid role numbers [#] following each device indicate its role, or function, within the raid set. Any device with "n" or higher are spare disks. 0,1,..,n-1 are for the working array. Notice that there is no device 3."
> 
> But according to the following two postings, http://www.spinics.net/lists/raid/msg44491.html and http://www.spinics.net/lists/raid/msg49766.html
> the information in the wiki about the numbers in brackets (role numbers ) is wrong.
> 
> Thanks,
> Peter Sangas
> 


  reply	other threads:[~2016-09-23 18:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-22 23:31 Linux raid wiki Wols Lists
2016-09-23 17:35 ` WNSDEV
2016-09-23 18:43   ` Wols Lists [this message]
2016-09-23 19:02     ` Peter Sangas
2016-09-24  3:38     ` Phil Turmel
2016-09-24 13:18 ` Wols Lists
2016-09-26 14:01   ` Phil Turmel
2016-09-26 16:44     ` Wols Lists
2016-09-26 21:19       ` Phil Turmel
2016-09-26 21:37         ` Wols Lists

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=57E577BE.8080101@youngman.org.uk \
    --to=antlists@youngman.org.uk \
    --cc=linux-raid@vger.kernel.org \
    --cc=pete@wnsdev.com \
    /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.