From: Simon Mcnair <simonmcnair@gmail.com>
To: NeilBrown <neilb@suse.de>
Cc: "jeffs_linux@123mail.org" <jeffs_linux@123mail.org>,
"linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: Re: Why do I get different results for 'mdadm --detail' & 'mdadm --examine' for the same array?
Date: Fri, 17 Jun 2011 23:41:15 +0100 [thread overview]
Message-ID: <8060836215477155901@unknownmsgid> (raw)
In-Reply-To: <20110616101812.761f7397@notabene.brown>
On the basis of this stunning review I have ordered a copy of 'The
Traveller in Black' from amazon :-)
You should be in sales ;-)
Simon
On 16 Jun 2011, at 01:18, NeilBrown <neilb@suse.de> wrote:
> On Sat, 11 Jun 2011 18:01:11 -0700 jeffs_linux@123mail.org wrote:
>
>> Hi,
>>
>> I'm working on setting up my 1st Linux production server with RAID for
>> our office.
>
> ---- cut lots of detail-----
> It is very good to include lots of detail, but more effective you include it
> after you have asked the question, otherwise one gets bored long before one
> reaches the actual question....
>
>>
>>
>> Now, I'm going about characterizing the arrays, and the Volumes on them,
>> so I can deal with recovery if & when it's necessary.
>>
>> When I "look" at the array with these two commands,
>>
>> mdadm --examine --scan
>> ARRAY /dev/md/jeffadm1 metadata=1.2
>> UUID=d84afb64:e6fa2b64:ff21c975:f9765431 name=jeffadm:jeffadm1
>> ARRAY /dev/md126 UUID=19f2b21c:e54f9e1a:be5ad16e:9754ab5e
>>
>> mdadm --detail --scan
>> ARRAY /dev/md127 metadata=1.2 name=jeffadm:jeffadm1
>> UUID=d84afb64:e6fa2b64:ff21c975:f9765431
>> ARRAY /dev/md/0_0 metadata=0.90
>> UUID=19f2b21c:e54f9e1a:be5ad16e:9754ab5e
>>
>>
>> I get different results for each one.
>
> It is just the different names that has you bothered - correct?
>
> Names are messy things. We pretend that everything has just one name but
> that isn't really true (reminds me of "The Traveller in Black" ... he had
> many names but one nature. But I digress).
>
> In the two different cases the 'name' of the array is found in different ways.
> Both are correct, they are just different.
>
> So unless there is some real confusion being caused, best just to move on and
> not let it worry you..
>
> NeilBrown
>
>
>
>>
>>> From my reading about naming in mdadm.conf, I was expecting to see:
>>
>> /dev/md/0_0
>> /dev/jeffadm:jeffadm1
>>
>>
>> Why do I get this mix of different results,
>>
>> /dev/md/jeffadm1
>> /dev/md126
>>
>> from the "--detail" output, and
>>
>> /dev/md127 metadata=1.2 name=jeffadm:jeffadm1
>> /dev/md/0_0
>>
>> according to the "--examine" output?
>>
>> Is my mdadm.conf OK? What really should I expect to see for the names
>> of my arrays?
>>
>> Jeff
>> --
>> 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
>
> --
> 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
prev parent reply other threads:[~2011-06-17 22:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-12 1:01 Why do I get different results for 'mdadm --detail' & 'mdadm --examine' for the same array? jeffs_linux
2011-06-12 1:42 ` jeffs_linux
2011-06-12 1:49 ` jeffs_linux
2011-06-16 0:04 ` jeffs_linux
2011-06-16 0:18 ` NeilBrown
2011-06-16 0:39 ` jeffs_linux
2011-06-16 1:22 ` NeilBrown
2011-06-16 1:47 ` jeffs_linux
2011-06-16 2:00 ` NeilBrown
2011-06-16 2:09 ` jeffs_linux
2011-06-16 2:39 ` jeffs_linux
2011-06-16 6:06 ` jeffs_linux
2011-06-17 22:41 ` Simon Mcnair [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=8060836215477155901@unknownmsgid \
--to=simonmcnair@gmail.com \
--cc=jeffs_linux@123mail.org \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.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 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).