Physical device path on V880

We have a V880 running Solaris 8 with a number of FC HBA cards attached to a bunch of directly attached storage boxes (no multipathing). How do I determine the PCI slot, and channel, that a particular disk is attached to? For example, we have a disk:

/dev/rdsk/c8t2d0s2

with a physical path of:

/devices/<a href="mailto:pci&#64;9" target="_blank">pci@9</a>,600000/SUNW,<a href="mailto:qlc&#64;2" target="_blank">qlc@2</a>/<a href="mailto:fp&#64;0" target="_blank">fp@0</a>,0/<a href="mailto:ssd&#64;w210000203715a7bd" target="_blank">ssd@w210000203715a7bd</a>,0:c,raw

From looking at this, how can I tell which PCI slot that's in and which interface (these are dual channel cards) it's on? There was a good discussion closely related to this topic over in the Developer Forums -> Solaris Forums -> Sun HBA WWN, kicked off by tmn21. But the script posted by magnuslubeck didn't quite work for me: my version of prtdiag didn't hold the same string as the output of luxadm.

I also saw this reference that Sun has that talks about the mapping from physical path to PCI slot number:

<a href="http://developers.sun.com/solaris/articles/devicemapping.html" target="_blank"> http://developers.sun.com/solaris/articles/devicemapping.htm l</a>

But it's for older machines (ie: it has a table of these mappings for the 450). Does anybody know of an updated one for newer machines? Or how to interpret the physical path string directly?

Any help is greatly appreciated. Thanks.

Karl

[1643 byte] By [pettyk] at [2007-11-25 23:00:22]
# 1

If you have login access to Sunsolve, retrieve Infodoc 21216

Its title is:

<i> Solaris[TM] Operating System: Matrix of Recognized Device Paths </i>

It has the paths-per-slot for

*Ultra[TM] 5/10/30/60/80/220R/420R

*Netra[TM] t 1100/1120/1125/1400/1405

*Netra 20/120/240/440/1280

*Ultra Enterprise[TM] 250/450

*Sun Blade[TM] 100/150/1000/1500/1500(Silver)/2000/2500/2500(Silver)

*Sun Fire[TM] v100/v120/v20z/210/240/250/280R/v40z/440/480/490/880/890/128 0/B1600/E2900

*Sun Fire 3800/4800/4810/6800/E4900/E6900

It's not a free document.

Bill at 2007-7-5 17:49:41 > top of Java-index,Storage Forums,Storage General Discussion...
# 2

Do you have spectrum access to the handbook?

Check document 21216. You are referencing the path to PCI slot 7:

<b>" PCI Slot 7/<a href="mailto:pci&#64;9" target="_blank">pci@9</a>,600000/<device>@2,*33/66mhz-32/64bit-3.3V"</b>

Above quotation from this document, I can't post a link to it as I'm using the SPE internal handbook, but the document is Spectrum.

<b>EDIT</b>You are not referencing loop A, it's PCI slot 7 with a qlc card, loop B perhaps?

mlennon at 2007-7-5 17:49:41 > top of Java-index,Storage Forums,Storage General Discussion...
# 3
Thanks for the replies - document 21216 answers my question perfectly. And thank you Google for spending so much money on disk space so that you can keep every document you've ever seen in your cache.Karl
pettyk at 2007-7-5 17:49:41 > top of Java-index,Storage Forums,Storage General Discussion...
# 4
I don't think it's cached, it is available as part of the example Ultra 30 handbook:<a href=" http://sunsolve.sun.com/handbook_pub/Systems/Example/documents/21216.html " target="_blank"> http://sunsolve.sun.com/handbook_pub/Systems/Example/documen ts/21216.html</a>
mlennon at 2007-7-5 17:49:41 > top of Java-index,Storage Forums,Storage General Discussion...
# 5
I always wondered why it was supposed to be a Spectrum document, anyhow.<img src="images/smiley_icons/icon_smile.gif" border=0 alt="Smile">
Bill at 2007-7-5 17:49:41 > top of Java-index,Storage Forums,Storage General Discussion...
# 6

If you compare the private InfoDoc 21216 and that one from the archived collection, they are different !

The public InfoDoc isn't updated.

<a href="http://supportforum.sun.com/hardware/index.php?t=msg&amp;goto=19272" target="_blank"> http://supportforum.sun.com/hardware/index.php?t=msg&got o=19272</a>

Michael

maal at 2007-7-5 17:49:41 > top of Java-index,Storage Forums,Storage General Discussion...