[OmniOS-discuss] [discuss] mpt_sas wedge

Richard Elling richard.elling at richardelling.com
Thu Dec 12 22:21:45 UTC 2013


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 <henson at acm.org> wrote:

>> From: wuffers [mailto:moo at wuffers.net]
>> 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/?member_id=21175743&id_secret=21175743-81b50b6e
> Powered by Listbox: http://www.listbox.com

--

Richard.Elling at RichardElling.com
+1-760-896-4422



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20131212/95b5f8bc/attachment-0001.html>


More information about the OmniOS-discuss mailing list