<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Here is another method:<div>There is a handy mptstat dcmd.<div><br></div><div><span class="Apple-tab-span" style="white-space:pre">  </span><!--?xml version="1.0" encoding="UTF-8" standalone="no"?-->

<span style="font-family: Arial; ">echo ::mptsas -t | mdb -k</span></div><div><!--?xml version="1.0" encoding="UTF-8" standalone="no"?-->

<font face="Arial"><span class="Apple-tab-span" style="white-space:pre">      </span>
        mptsas_t inst ncmds suspend  power </font></div><div><font face="Arial"><span class="Apple-tab-span" style="white-space:pre">  </span>================================================================================ </font></div><div><font face="Arial"><span class="Apple-tab-span" style="white-space:pre">       </span>ffffff0703785000    0     0       0 ON=D0 </font></div><div><font face="Arial"><span class="Apple-tab-span" style="white-space:pre">              </span>The SCSI target information</font></div><div><font face="Arial"><br></font></div><div><font face="Arial"><span class="Apple-tab-span" style="white-space:pre">         </span>devhdl 12, sasaddress 5000c5002128f332, phymask ff,devinfo 401</font></div><div><font face="Arial"><span class="Apple-tab-span" style="white-space:pre">               </span>throttle 20, dr_flag 0, m_t_ncmds 0 </font></div><div><font face="Arial"><br></font></div><div><font face="Arial"><span class="Apple-tab-span" style="white-space:pre">           </span>devhdl 11, sasaddress 5000c50021295cb2, phymask ff,devinfo 401</font></div><div><font face="Arial"><span class="Apple-tab-span" style="white-space:pre">               </span>throttle 20, dr_flag 0, m_t_ncmds 0</font></div><div><font face="Arial"><span class="Apple-tab-span" style="white-space:pre">          </span>... </font></div><div></div><div></div><div><font face="Arial"><br></font></div><div><font face="Arial">The devhdl is reported in the messages from mptsas. The sasaddress can be translated</font></div><div><font face="Arial">into the device name.</font></div><div><font face="Arial"><br></font></div><div><font face="Arial">Yes, this should be much easier :-(</font></div><div><font face="Arial"> -- richard</font></div><div><font face="Arial"><br></font><div><div>On Dec 10, 2013, at 12:34 PM, Paul B. Henson <<a href="mailto:henson@acm.org">henson@acm.org</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><blockquote type="cite">From: wuffers [mailto:moo@<a href="http://wuffers.net">wuffers.net</a>]<br>Sent: Monday, December 09, 2013 9:04 PM<br><br>I had some SCSI warnings as well relating to a target, and I found this<br></blockquote>helpful<br><blockquote type="cite">thread on determining a disk target (uses lsiutil):<br></blockquote><br>While I was poking around, I discovered that while the syslog messages only<br>mention the target, if you run 'fmdump -e', the fault manager logs include<br>the wwn.<br><br><br><br>-------------------------------------------<br>illumos-discuss<br>Archives: <a href="https://www.listbox.com/member/archive/182180/=now">https://www.listbox.com/member/archive/182180/=now</a><br>RSS Feed: <a href="https://www.listbox.com/member/archive/rss/182180/21175743-23d1427b">https://www.listbox.com/member/archive/rss/182180/21175743-23d1427b</a><br>Modify Your Subscription: <a href="https://www.listbox.com/member/?member_id=21175743&id_secret=21175743-81b50b6e">https://www.listbox.com/member/?member_id=21175743&id_secret=21175743-81b50b6e</a><br>Powered by Listbox: <a href="http://www.listbox.com">http://www.listbox.com</a><br></blockquote></div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">--</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><a href="mailto:Richard.Elling@RichardElling.com">Richard.Elling@RichardElling.com</a><br>+1-760-896-4422<br><br><br></div></span></div></span></div></span></div></span></div>
</div>
<br></div></div></body></html>