From: Phil Turmel <philip@turmel.org>
To: Ian Pilcher <arequipeno@gmail.com>
Cc: Benjamin ESTRABAUD <be@mpstor.com>, linux-raid@vger.kernel.org
Subject: Re: Array member "role numbers" in /proc/mdstat
Date: Mon, 23 Sep 2013 13:50:00 -0400 [thread overview]
Message-ID: <52407F48.7020805@turmel.org> (raw)
In-Reply-To: <52406EBB.1010507@gmail.com>
On 09/23/2013 12:39 PM, Ian Pilcher wrote:
> On 09/23/2013 11:36 AM, Benjamin ESTRABAUD wrote:
>> Are you referring to the particular mention"Any device with "n" or
>> higher are spare disks. 0,1,..,n-1 are for the working array." in the
>> Mdstat wiki page?
>
> I was really thinking of the sentence before that, which states:
>
> The raid role numbers [#] following each device indicate its role, or
> function, within the raid set.
The wiki is wrong. The number in brackets is the device's index into
the *table* of roles in the superblock. In a new array, table entries
are allocated sequentially, which makes it *look* like the role numbers.
Phil
prev parent reply other threads:[~2013-09-23 17:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-23 16:21 Array member "role numbers" in /proc/mdstat Ian Pilcher
[not found] ` <52406E0C.4080207@mpstor.com>
2013-09-23 16:39 ` Ian Pilcher
2013-09-23 17:50 ` Phil Turmel [this message]
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=52407F48.7020805@turmel.org \
--to=philip@turmel.org \
--cc=arequipeno@gmail.com \
--cc=be@mpstor.com \
--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 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.