Here is another method:
There is a handy mptstat dcmd.

         echo ::mptsas -t | mdb -k
         mptsas_t inst ncmds suspend power 
        
================================================================================
 
        ffffff0703785000 0 0 0 ON=D0 
                The SCSI target information

                devhdl 12, sasaddress 5000c5002128f332, phymask ff,devinfo 401
                throttle 20, dr_flag 0, m_t_ncmds 0 

                devhdl 11, sasaddress 5000c50021295cb2, phymask ff,devinfo 401
                throttle 20, dr_flag 0, m_t_ncmds 0
                ... 

The devhdl is reported in the messages from mptsas. The sasaddress can be 
translated
into the device name.

Yes, this should be much easier :-(
 -- richard

On Dec 10, 2013, at 12:34 PM, Paul B. Henson <[email protected]> wrote:

>> From: wuffers [mailto:[email protected]]
>> Sent: Monday, December 09, 2013 9:04 PM
>> 
>> I had some SCSI warnings as well relating to a target, and I found this
> helpful
>> thread on determining a disk target (uses lsiutil):
> 
> While I was poking around, I discovered that while the syslog messages only
> mention the target, if you run 'fmdump -e', the fault manager logs include
> the wwn.
> 
> 
> 
> -------------------------------------------
> illumos-discuss
> Archives: https://www.listbox.com/member/archive/182180/=now
> RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175743-23d1427b
> Modify Your Subscription: https://www.listbox.com/member/?&;
> Powered by Listbox: http://www.listbox.com

--

[email protected]
+1-760-896-4422






-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to