linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Douglas Gilbert <dougg@torque.net>
To: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: James Bottomley <James.Bottomley@SteelEye.com>,
	ltuikov@yahoo.com, "Tarte, Robert" <Robert_Tarte@adaptec.com>,
	linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: [RFC] aic94xx: attaching to the sas transport class
Date: Mon, 06 Mar 2006 13:30:32 -0500	[thread overview]
Message-ID: <440C7FC8.8050000@torque.net> (raw)
In-Reply-To: <440867B7.70703@s5r6.in-berlin.de>

Stefan Richter wrote:
> James Bottomley wrote:
> 
>>Assuming the cages are all powered up, which is beyond
>>the driver control, then serialising the scan will allow one to
>>specify /dev/sda1 deterministically for root.
> 
> 
> Does SAS provide a persistent globally unique property of a device, or
> has SAS to rely on bus topology to uniqely identify devices?

That swings on what you mean by "device" but broadly:
Yes to the first part, but ... SAS is a transport and
SAS transport endpoints (i.e. "ports") have naa-5
world wide unique identifiers. That might sound great
but most SAS disks are dual ported, so that gives two
SAS (i.e. naa-5) addresses (typically consecutive).
A dual ported SAS disk could/should have up to
4 naa-5 addresses:
  - one for SAS port 1 (primary)
  - one for SAS port 2 (secondary)
  - one for the target device
  - and, one for the logical unit

A SAS (target) device might also be a bridge, for
example, as found in SAS expanders that support SATA
devices. SATA disks do not yet have mandated world
wide unique addresses (but provision has been made for
a naa-5 address). The SAS "port" address of a SATA
disk is actually the bridge it is plugged into (but
one could switch SATA disks).

I suspect what you would really like to identify uniquely
is the logical unit. Fuzziness remains due to the
possibility of bridges.

Doug Gilbert

  parent reply	other threads:[~2006-03-06 18:31 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-02 22:38 [RFC] aic94xx: attaching to the sas transport class James Bottomley
2006-03-02 23:13 ` Mike Anderson
2006-03-03  2:16   ` Mark Rustad
2006-03-03  4:04     ` Randy.Dunlap
2006-03-03 16:51       ` Mark Rustad
2006-03-03 15:51     ` Stefan Richter
2006-03-03 18:24       ` Luben Tuikov
2006-03-03  4:34   ` James Bottomley
2006-03-04  1:47     ` Alexis Bruemmer
2006-03-03 10:26   ` Luben Tuikov
2006-03-03 16:12     ` Stefan Richter
2006-03-03 18:26       ` Luben Tuikov
2006-03-03 10:14 ` Luben Tuikov
2006-03-03 15:23   ` James Bottomley
2006-03-03 15:58     ` Stefan Richter
2006-03-03 16:26       ` James Bottomley
2006-03-03 17:03         ` Mike Anderson
2006-03-03 17:28           ` Jeff Garzik
2006-03-06 18:30       ` Douglas Gilbert [this message]
2006-03-03 18:20     ` Luben Tuikov
2006-03-06  8:26 ` Mike Anderson
2006-03-06 15:13   ` James Bottomley
2006-03-06 16:37     ` Jeff Garzik
2006-03-18  1:45 ` [PATCH] " Alexis Bruemmer
2006-03-18  2:05   ` Alexis Bruemmer
2006-03-18 15:24   ` James Bottomley
2006-03-20  5:53     ` Mike Anderson
  -- strict thread matches above, loose matches on Subject: below --
2006-03-03 16:39 [RFC] " Robert Tarte
2006-03-04  3:01 Tarte, Robert
2006-03-04  4:09 ` James Bottomley
2006-03-04  8:50   ` Luben Tuikov
2006-03-06 19:35   ` Mike Anderson
2006-03-06 19:50     ` James Bottomley
2006-03-07  0:44       ` Alexis Bruemmer
2006-03-08 15:15         ` James Bottomley
2006-03-09 17:06           ` Alexis Bruemmer
2006-03-09 18:05             ` Mike Anderson

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=440C7FC8.8050000@torque.net \
    --to=dougg@torque.net \
    --cc=James.Bottomley@SteelEye.com \
    --cc=Robert_Tarte@adaptec.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=ltuikov@yahoo.com \
    --cc=stefanr@s5r6.in-berlin.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).