From: "David C. Rankin" <drankinatty@suddenlinkmail.com>
To: mdraid <linux-raid@vger.kernel.org>
Subject: Re: raid role number off on one array?
Date: Fri, 11 Sep 2015 10:21:51 -0500 [thread overview]
Message-ID: <55F2F18F.4060700@suddenlinkmail.com> (raw)
In-Reply-To: <55F2DD22.3030406@turmel.org>
On 09/11/2015 08:54 AM, Phil Turmel wrote:
> /proc/mdstat doesn't show role numbers. It shows slot numbers. Slot
> numbers are the indices into the role number tracking tables in the
> superblock. They happen to match role numbers on a freshly-created
> array simply because the slots are allocated starting from zero, just
> like the roles. As you add and remove devices, the slot numbers and
> role numbers may no longer match.
Ah hah!
That was the piece of the puzzle I was missing. Thanks you. I guess I'm just
a bit overly concerned about making sure I understand everything I'm seeing with
my arrays. After having used mdadm for roughly a decade without a single loss,
then having that little "no attempt to activate sda7 Oops", I just want to do
what I can to avoid a repeat :-)
--
David C. Rankin, J.D.,P.E.
prev parent reply other threads:[~2015-09-11 15:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-11 3:26 raid role number off on one array? David C. Rankin
2015-09-11 13:54 ` Phil Turmel
2015-09-11 15:21 ` David C. Rankin [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=55F2F18F.4060700@suddenlinkmail.com \
--to=drankinatty@suddenlinkmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox