`<div dir="ltr">I hacked up some scripts to deal with our similar setup. There are a few things missing (like identify by name), but the scripts here will collect data and match between all of the different identifiers that are used to refer to a single device:<div>
<a href="https://github.com/narayandesai/diy-lsi">https://github.com/narayandesai/diy-lsi</a><br></div><div><br></div><div>Questions and patches welcome.</div><div> -nld</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Oct 30, 2013 at 3:25 PM, Chris Siebenmann <span dir="ltr"><<a href="mailto:cks@cs.toronto.edu" target="_blank">cks@cs.toronto.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This is a long shot and I suspect that the answer is no, but: in<br>
OmniOS, is it possible somehow to have disk device names for disks<br>
behind LSI SAS controllers that are based on the physical slot ('phy')<br>
that the disk is found in instead of the disk's reported WNN or serial<br>
number?<br>
<br>
(I understand that this is only easy if there are no SAS expanders<br>
involved, which is the situation that I care about.)<br>
<br>
I know that I can recover this information from prtconf -v with<br>
appropriate mangling, but our contemplated environment would be much<br>
more manageable if we could directly use physical slot based device<br>
naming.<br>
<br>
Thanks in advance. I'll post a summary if there are any private<br>
replies (for anything besides 'nope, can't do it').<br>
<br>
- cks<br>
_______________________________________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
</blockquote></div><br></div>
`