`<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 15, 2014, at 7:49 AM, Richard Elling <<a href="mailto:richard.elling@richardelling.com" class="">richard.elling@richardelling.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Hi CJ,<br class="">I'm away from my notes at the moment, but know that an mptsas instance's reported target number is not the same as the sd driver instance number. The most expeditious way to cross reference is to use sasinfo or, failing that, <br class=""><br class="">echo ::mptsas -t | mdb -k<br class=""></div></blockquote><blockquote type="cite" class=""><div class=""><br class="">which dumps the sas WWN to target port info.<br class=""></div></blockquote><div><br class=""></div><div>in this output, the “devhdl” is the number you need to match</div><div> — richard</div><br class=""><blockquote type="cite" class=""></blockquote><blockquote type="cite" class=""><div class=""><br class="">If that still doesn't narrow the field, look at the per-disk error counters: <br class="">iostat -E<br class=""><br class="">Note: resets are tricky and you can be sure sd is trying to reset devices to wake them up. <br class=""><br class="">More later, when I get back to the office...<br class=""> -- richard<br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">On Nov 15, 2014, at 6:57 AM, CJ Keist <<a href="mailto:cj.keist@colostate.edu" class="">cj.keist@colostate.edu</a>> wrote:<br class=""><br class="">Hello,<br class=""> Need some help identifying physical disk on my system. My system got hung and last thing in the /var/adm/message file before the crash is follows:<br class=""><br class="">Nov 14 13:31:12 projects2 scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci8086,340c@5/pci1000,3020@0 (mpt_sas0):<br class="">Nov 14 13:31:12 projects2 Disconnected command timeout for Target 48<br class="">Nov 14 13:31:12 projects2 scsi: [ID 243001 kern.warning] WARNING: /pci@0,0/pci8086,340c@5/pci1000,3020@0 (mpt_sas0):<br class="">Nov 14 13:31:12 projects2 mptsas_handle_event_sync: IOCStatus=0x8000, IOCLogInfo=0x31170000<br class="">Nov 14 13:31:16 projects2 scsi: [ID 365881 kern.info] /pci@0,0/pci8086,340c@5/pci1000,3020@0 (mpt_sas0):<br class="">Nov 14 13:31:16 projects2 Log info 0x31140000 received for target 48.<br class="">Nov 14 13:31:16 projects2 scsi_status=0x0, ioc_status=0x8048, scsi_state=0xc<br class="">Nov 14 13:31:16 projects2 scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci8086,340c@5/pci1000,3020@0 (mpt_sas0):<br class="">Nov 14 13:31:16 projects2 mptsas_check_task_mgt: Task 0x3 failed. IOCStatus=0x4a IOCLogInfo=0x0 target=48<br class="">Nov 14 13:31:16 projects2 scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci8086,340c@5/pci1000,3020@0 (mpt_sas0):<br class="">Nov 14 13:31:16 projects2 mptsas_ioc_task_management failed try to reset ioc to recovery!<br class=""><br class="">Then using the command "cfgadm -alv" shows that the /pci@0,0/pci8086,340c@5/pci1000,3020@0 is the controller in front of all the disks. The output above does say "Target 48", I'm hoping that is the disk target so would be the one listed in the cfgadm command here:<br class=""><br class="">c6::w50014ee2b2e8dc6a,0 connected configured unknown Client Device: /dev/dsk/c3t50014EE2B2E8DC6Ad0s0(sd48)<br class="">unavailable disk-path n /devices/pci@0,0/pci8086,340c@5/pci1000,3020@0/iport@f:scsi::w50014ee2b2e8dc6a,0<br class=""><br class="">Would this be the disk being reported in /var/adm/messages?<br class=""><br class="">-- <br class="">C. J. Keist Email: <a href="mailto:cj.keist@colostate.edu" class="">cj.keist@colostate.edu</a><br class="">Systems Group Manager Solaris 10 OS (SAI)<br class="">Engineering Network Services Phone: 970-491-0630<br class="">College of Engineering, CSU Fax: 970-491-5569<br class="">Ft. Collins, CO 80523-1301<br class=""><br class="">All I want is a chance to prove 'Money can't buy happiness'<br class=""><br class="">_______________________________________________<br class="">OmniOS-discuss mailing list<br class=""><a href="mailto:OmniOS-discuss@lists.omniti.com" class="">OmniOS-discuss@lists.omniti.com</a><br class="">http://lists.omniti.com/mailman/listinfo/omnios-discuss<br class=""></blockquote></div></blockquote></div><br class=""><div apple-content-edited="true" class="">
<div style="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; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><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; " class=""><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; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><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; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><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; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">--</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><br class=""></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><a href="mailto:Richard.Elling@RichardElling.com" class="">Richard.Elling@RichardElling.com</a><br class="">+1-760-896-4422<br class=""><br class=""><br class=""></div></span></div></span></div></span></div></span></div>
</div>
<br class=""></body></html>`