From: Patrick Mansfield <patmans@us.ibm.com>
To: "Philip R. Auld" <pauld@egenera.com>
Cc: Steven Dake <sdake@mvista.com>,
linux-scsi@vger.kernel.org, Greg KH <greg@kroah.com>
Subject: Re: [announce] scsi_id 0.1 - generate unique scsi id
Date: Tue, 28 Oct 2003 07:06:40 -0800 [thread overview]
Message-ID: <20031028070640.A8503@beaverton.ibm.com> (raw)
In-Reply-To: <20031028091920.J4263@vienna.EGENERA.COM>; from pauld@egenera.com on Tue, Oct 28, 2003 at 09:19:20AM -0500
On Tue, Oct 28, 2003 at 09:19:20AM -0500, Philip R. Auld wrote:
> From what I read about it that doesn't make sense. Udev will use the callout
> to scsi_id, get the id and use the name "disk-1" if it matches (in your
> example). What it does when it finds that it has already created "disk-1"
> I guess is the issue. It could just remake it and you'd end up only having
> a udev device for the last one found. I could be misunderstanding udev
> still though :)
udev needs to somehow handle duplicates, but unless we tell it a
device is multi-pathed, it can't tell an error case (tried to give the
same name to two separate devices) from the multi-path case.
> It may be that the way this is used best is to use it as a call out in udev
> if you're not doing multi-path. Then if you are using MP, configure udev to
> use scsi bus based names and have the MP detection script call out to scsi_id.
> That's at least how I think I would set it up.
That is one way to configure them. The current udev would need a lot of
entries to handle all possible names - if you wanted to be able to add
a new LUN or path and have it just show up with the path in its name.
Users might also want the name of the MP device to be similiar to the
names for the paths of the device. This means udev would need to be passed
information that these are multi-pathed devices (assuming it would
otherwise create only one entry).
-- Patrick Mansfield
next prev parent reply other threads:[~2003-10-28 15:07 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-21 23:58 [announce] scsi_id 0.1 - generate unique scsi id Patrick Mansfield
2003-10-22 14:31 ` Christoph Hellwig
2003-10-22 7:42 ` Daniel Stekloff
2003-10-22 14:46 ` Christoph Hellwig
2003-10-22 8:05 ` Daniel Stekloff
2003-10-22 15:52 ` Matthew Wilcox
2003-10-22 16:15 ` Patrick Mansfield
2003-10-22 16:23 ` Christoph Hellwig
2003-10-23 7:33 ` Jes Sorensen
2003-10-24 21:33 ` Steven Dake
2003-10-27 14:16 ` Philip R. Auld
2003-10-27 15:27 ` Patrick Mansfield
2003-10-27 17:06 ` Philip R. Auld
2003-10-27 17:31 ` Patrick Mansfield
2003-10-28 14:19 ` Philip R. Auld
2003-10-28 15:06 ` Patrick Mansfield [this message]
2003-10-28 15:40 ` Philip R. Auld
2003-10-28 16:29 ` Patrick Mansfield
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=20031028070640.A8503@beaverton.ibm.com \
--to=patmans@us.ibm.com \
--cc=greg@kroah.com \
--cc=linux-scsi@vger.kernel.org \
--cc=pauld@egenera.com \
--cc=sdake@mvista.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox