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@9" target="_blank">pci@9</a>,600000/SUNW,<a href="mailto:qlc@2" target="_blank">qlc@2</a>/<a href="mailto:fp@0" target="_blank">fp@0</a>,0/<a href="mailto:ssd@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

