Motherboard Forums


Reply
Thread Tools Display Modes

persistent target id's for FC, how?

 
 





















Frank Cusack
Guest
Posts: n/a

 
      08-16-2006, 10:20 PM


So ... don't FC devices come up as cxtydz? But FC devices don't have
scsi ids, they have WWNs. So how do WWNs get mapped to targets
persistently?

I'm asking about FC but really I want to get a hint about SAS, which
is similar. I noticed on x64, in the BIOS (rather, from lsiutil in
Solaris) for my LSI SAS card that there are a lot of persistent
mappings, but I can only trace one of them to a physical device, which
is the attached JBOD enclosure itself.

In OBP on sparc, probe-scsi-all returns a different ordering of SAS
devices (and assigned scsi targets) depending on how long I let things
settle between power cycles. I'm worried that if I ever do get this
SAS card working on sparc, targets won't be stable. Not a showstopper
for me since I'll be using zfs and it's my understanding that zfs
(like SVM) will track the drive if it changes scsi targets, but still
enough of a problem that I want to know how this works.

I imagine that for FC, whatever 'cfgadm' consults maintains persistent
WWN->scsi target mappings, much like controller numbers are persistent
based on when the /dev link is created. Maybe this is just a symlink
to /devices node which is named after the WWN, for FC. But for SAS,
AFAICT, Solaris does not maintain SASAddresses.

-frank
 
Reply With Quote
 
Darren Dunham
Guest
Posts: n/a

 
      08-24-2006, 12:30 AM
Frank Cusack <> wrote:
> So ... don't FC devices come up as cxtydz? But FC devices don't have
> scsi ids, they have WWNs. So how do WWNs get mapped to targets
> persistently?


By the FC driver. Different ones do different things.

For legacy (sd style) drivers, there's usually an option to map a WWN to
a target explicitly (and thus persistently).

The Solaris leadville stack simply sticks the full WWN as the target so
it's always persistent.

> I'm asking about FC but really I want to get a hint about SAS, which
> is similar. I noticed on x64, in the BIOS (rather, from lsiutil in
> Solaris) for my LSI SAS card that there are a lot of persistent
> mappings, but I can only trace one of them to a physical device, which
> is the attached JBOD enclosure itself.


Hmm. Pass. I haven't played with SAS yet at all.

Does a SAS device have a persistent identity (like a normal SCSI or WWN
address?) If so, I would hope that the driver would be able to
reference it in some manner.

--
Darren Dunham
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
 
Reply With Quote
 
Frank Cusack
Guest
Posts: n/a

 
      08-29-2006, 09:51 PM
On Wed, 23 Aug 2006 23:30:26 GMT Darren Dunham <> wrote:
> Does a SAS device have a persistent identity (like a normal SCSI or WWN
> address?) If so, I would hope that the driver would be able to
> reference it in some manner.


Yes, the SASAddress.

-frank
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What should my target mobo temp be? Keith Asus 17 11-18-2007 05:27 AM


All times are GMT. The time now is 07:19 PM.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43