From: Pete Zaitcev <zaitcev@redhat.com>
To: Neil Brown <neilb@cse.unsw.edu.au>
Cc: Christoph Hellwig <hch@infradead.org>,
linux-kernel@vger.kernel.org, zaitcev@redhat.com
Subject: Re: Patch to add RAID autostart to IBM partitions
Date: Tue, 19 Oct 2004 09:32:37 -0700 [thread overview]
Message-ID: <20041019093237.291b7ab8@lembas.zaitcev.lan> (raw)
In-Reply-To: <16756.29638.846336.56357@cse.unsw.edu.au>
On Tue, 19 Oct 2004 11:54:14 +1000, Neil Brown <neilb@cse.unsw.edu.au> wrote:
Dear Neil,
thank you for your patient reply. It makes things a lot clearer.
> Yes, you haven't told it what defines "/dev/md0", so it assumes the
> first device listed will define it, but /dev/dasda doesn't so....
> You have to tell mdadm how to recognise /dev/md0. Possibly by UUID.
> Possibly by "minor number".
> e.g.
>
> DEVICE partitions
> ARRAY /dev/md0 super-minor=0
>
> which means "if you find any devices listed in /proc/partitions which
> contains an MD superblock which has a "md_minor" field of "0", then
> use those to assemble /dev/md0.
I see now. I'm sorry that I was unable to deduce it from the manual.
One last question, if the -As worked, would it do the same?
> This will often be what you want, but might not always. e.g. if you
> have plugged in a drive that was part of /dev/md0 in another machine,
> then mdadm will have no way of knowing which drive is the "right" one.
I guess there's nothing we can do about possible conflicts, except warn
the operator at installation time. What is the recommended way to ask
mdadm to list all conflicts, or simply all found array devices, for the
benefit of an installation program reading a pipe?
-- Pete
next prev parent reply other threads:[~2004-10-19 16:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-16 5:48 Pete Zaitcev
2004-10-16 11:09 ` Christoph Hellwig
2004-10-16 15:29 ` Pete Zaitcev
2004-10-19 1:54 ` Neil Brown
2004-10-19 16:32 ` Pete Zaitcev [this message]
2004-10-29 2:16 ` Neil Brown
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=20041019093237.291b7ab8@lembas.zaitcev.lan \
--to=zaitcev@redhat.com \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=neilb@cse.unsw.edu.au \
/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
all inboxes | Powered by JetHome®