实例介绍
【实例简介】IBM存储串口命令大全
【实例截图】
【核心代码】
Table of Contents 1. Introduction _______________________________________________________________5 2. Comparison of Commands Before and After 06.16 ________________________________6 3. Shell Commands - Usage and Explanation _____________________________________11 3.1 Starting the Shell ______________________________________________________________ 11 3.2 Shell Commands _______________________________________________________________ 12 3.2.1 Quick Overview of Commands _______________________________________________________ 12 3.2.2 Drive/VOLUME Status Commands ____________________________________________________ 13 3.2.2.01 cfgPh <ch,id> _________________________________________________________________ 13 3.2.2.02 cfgPbDev <ch,id,volume> _______________________________________________________ 13 3.2.2.03 cfgPhy <ch,id> ________________________________________________________________ 14 3.2.2.04 cfgPhyList____________________________________________________________________ 16 3.2.2.05 cfgUnit <volume>______________________________________________________________ 16 3.2.2.06 cfgUnitList ___________________________________________________________________ 19 3.2.2.07 ghsList ______________________________________________________________________ 19 3.2.2.08 vdAll <cmd>__________________________________________________________________ 20 3.2.2.09 vdShow <volume> _____________________________________________________________ 20 3.2.2.10 cfgShow _____________________________________________________________________ 23 3.2.2.11 cfgSundTab___________________________________________________________________ 23 3.2.2.12 cfgDd <ch,id>_________________________________________________________________ 24 3.2.3 Drive/VOLUME Modify Commands___________________________________________________ 24 3.2.3.01 isp cfgPrepareDrive,0x<phydev>__________________________________________________ 24 3.2.3.02 isp cfgFailDrive,0x<devnum> ____________________________________________________ 24 3.2.3.03 isp cfgReplaceDrive,0x<devnum> _________________________________________________ 24 3.2.3.04 isp cfgSetDevOper,0x<devnum> __________________________________________________ 24 3.2.3.05 isp cfgDelVdisk,<volume>_______________________________________________________ 24 3.2.3.06 isp cfgRefreshVdisk,<volume>,<devnum of optimal drive>,0 ___________________________ 24 3.2.3.05 incrementCfgGenerationNumber __________________________________________________ 24 3.2.4 Controller/RDAC Status Commands ___________________________________________________ 25 3.2.4.01 arrayPrint ____________________________________________________________________ 25 3.2.4.02 arrayPrintSummary_____________________________________________________________ 26 3.2.5 Controller/RDAC Modify Commands __________________________________________________ 27 3.2.5.01 isp rdacMgrSetModeActivePassive ________________________________________________ 27 3.2.5.02 isp rdacMgrSetModeDualActive __________________________________________________ 27 3.2.5.03 isp rdacMgrAltCtlFail___________________________________________________________ 27 3.2.5.04 isp rdacMgrAltCtlResetRelease ___________________________________________________ 27 3.2.5.05 acsAutoCodeSync______________________________________________________________ 27 3.2.5.06 isp rdacMgrAltCtlReset ___________________________________________________________ 27 3.2.6 Other Useful Shell Commands and Procedures ___________________________________________ 27 3.2.6.01 cacheAnalyze _________________________________________________________________ 27 3.2.6.02 ccmStateAnalyze ______________________________________________________________ 28 3.2.6.03 memShow & memoryShow ______________________________________________________ 29 3.2.6.04 moduleList ___________________________________________________________________ 30 3.2.6.05 moduleShow __________________________________________________________________ 32 3.2.6.06 spmShow_____________________________________________________________________ 32 3.2.6.07 spmShowMaps ________________________________________________________________ 34 3.2.6.08 getObjectGraph_MT 8 __________________________________________________________ 35 3.2.6.09 mhmPrintPeanutStatus __________________________________________________________ 45 3.2.6.10 mhmPrintFredStatus ____________________________________________________________ 45 3.2.6.11 svlShow _____________________________________________________________________ 45 EngenioStorage Group LSI Logic, Inc. i Troubleshooting and Technical Reference Guide - Volume 1 3.2.6.12 avtHostShow__________________________________________________________________ 46 3.2.7 netCfgShow and netCfgSet___________________________________________________________ 46 3.2.7.1 Troubleshooting _________________________________________________________________ 49 3.2.7.2 Common Network Problems _______________________________________________________ 51 3.2.8 writeZerosFlag ____________________________________________________________________ 51 3.2.8.01 Turning writeZerosFlag On ______________________________________________________ 51 3.2.8.02 Turning writeZerosFlag Off ______________________________________________________ 52 3.2.9 Reviving a Dead Volume ____________________________________________________________ 53 3.2.10 Deleting a Host Port from the Shell ____________________________________________________ 53 3.2.11 Volume is not accessible from the host _________________________________________________ 54 3.2.12 Drive path redundancy lost___________________________________________________________ 54 3.2.13 How to retrieve the Major Event Log (MEL) from the shell _________________________________ 55 3.2.14 Adding drives that have a previous DacStor on them ______________________________________ 55 3.2.15 Changing the modification priority_____________________________________________________ 56 3.2.16 How to identify a drive from the shell __________________________________________________ 56 3.2.17 How to create and delete a Global Hot Spare from the shell _________________________________ 56 3.2.18 Monitoring and Stopping Media Scan from the shell_______________________________________ 56 3.2.19 hdd 90 ___________________________________________________________________________ 57 3.2.20 Turning tracing on and repairing bad blocks _____________________________________________ 57 3.2.21 Clearing the Storage Partition Management Region________________________________________ 58 4. Fibre Channel Driver Commands_____________________________________________59 4.1 Overview _____________________________________________________________________ 59 4.1.1 Cables ___________________________________________________________________________ 59 4.1.2 Watchdog Timer ___________________________________________________________________ 59 4.2 Debugging Problems with the Fibre Channel Interface _______________________________ 59 4.3 The fc commands ______________________________________________________________ 60 4.3.1 fc <Usage> _______________________________________________________________________ 60 4.3.1.01 fc 2 (Fibre Channel History) _____________________________________________________ 61 4.3.1.02 fc 3 (list of open exchanges) _____________________________________________________ 64 4.3.1.03 fc 5 (Quick Status) _____________________________________________________________ 64 4.3.1.04 fc 6 (Frame Mgr Status Log) _____________________________________________________ 65 4.3.1.05 fc 7 (Check Condition Log) ______________________________________________________ 66 4.3.1.06 fc 8 (Event Log) _______________________________________________________________ 66 4.3.1.07 fc 10 (host login list) ___________________________________________________________ 67 4.3.1.08 fc 10,10,3 (detailed host login list) ________________________________________________ 68 4.3.1.09 fc 12 (firmware versions)________________________________________________________ 70 4.3.1.10 fc 20 (Tachyon Line-level Statistics)_______________________________________________ 70 4.3.1.11 Clear Counters (fc90) ___________________________________________________________ 72 4.3.1.12 Clearing the accumulated totals and the trace (fc 91)___________________________________ 72 4.3.1.13 fc 100 (World Wide Name change information) ______________________________________ 72 4.3.1.14 fcNames (How to get worldwide names for all the channels) ____________________________ 72 4.3.1.15 fc101 ________________________________________________________________________ 73 4.3.1.16 fc111 ________________________________________________________________________ 73 4.3.1.17 fcAll (How to get an overall status)________________________________________________ 73 4.3.1.18 fcTail (Display last few entries of each log) _________________________________________ 74 4.3.1.19 fcHosts ______________________________________________________________________ 74 4.3.1.20 fcDump ______________________________________________________________________ 78 4.3.2 fcDevs___________________________________________________________________________ 78 4.3.2.01 fcDevs 1 - All Views by View Type (Active) ________________________________________ 78 4.3.2.02 fcDevs 2 - Inquiry View _________________________________________________________ 79 4.3.2.03 fcDevs 3 – Names View _________________________________________________________ 80 4.3.2.04 fcDevs 4 – Path View ___________________________________________________________ 81 4.3.2.05 fcDevs 5 – Common Names View _________________________________________________ 82 4.3.2.06 fcDevs 6 – Bufs View___________________________________________________________ 83 EngenioStorage Group LSI Logic, Inc. ii Troubleshooting and Technical Reference Guide - Volume 1 4.3.2.07 fcDevs 7 - Detail (All Luns) View and fcDevs 8 - Detail (Active Luns Only) View __________ 83 4.3.2.08 fcDevs 9 - All Views by LUN Device ______________________________________________ 83 4.3.2.09 fcDevs 10 - All Views by View Type (Detailed) ______________________________________ 83 4.3.2.10 fcDevs 11 - RLS View __________________________________________________________ 84 4.3.2.11 fcDevs 12 - Devices with any Errors _______________________________________________ 89 4.3.2.12 fcDevs 13 - Devices with RW Errors Returned by VDD ________________________________ 89 4.3.2.13 fcDevs 14 - Devices with Major Errors _____________________________________________ 90 4.3.2.14 hddDump ____________________________________________________________________ 90 5. ION Driver Commands _____________________________________________________ 91 5.1 Overview _____________________________________________________________________ 91 5.1.1 ion Commands ____________________________________________________________________ 91 5.1.1.01 ionHelp ______________________________________________________________________ 91 5.1.1.02 ch and chall___________________________________________________________________ 93 5.1.1.03 lu and luall ___________________________________________________________________ 94 5.1.1.04 iditn and iditnall _______________________________________________________________ 95 5.1.1.05 tditn and tditnall _______________________________________________________________ 97 5.1.1.06 ionShowInquiry _______________________________________________________________ 97 5.1.1.07 ionShow 12 ___________________________________________________________________ 98 5.1.1.08 ionShow 99 ___________________________________________________________________ 98 5.1.1.09 Controller I/O Breakdown _______________________________________________________ 98 5.2.1 hids Commands ___________________________________________________________________ 99 5.2.1.01 hids 104 or ‘h’________________________________________________________________ 100 5.2.1.02 hids 2_______________________________________________________________________ 101 5.2.1.03 hids 32______________________________________________________________________ 101 5.2.1.04 hids 77______________________________________________________________________ 102 5.2.1.05 hids 108_____________________________________________________________________ 103 5.3.1 fcn Commands ___________________________________________________________________ 103 5.3.1.01 fcnHelp _____________________________________________________________________ 103 5.3.1.02 fcnShow ____________________________________________________________________ 104 5.3.1.03 fcnShow 11 and fcnRls_________________________________________________________ 105 5.3.1.02 fcnChannelReport and fcnCMClearCounts _________________________________________ 106 5.4 Serially Attached SCSI (SAS) _________________________________________________________ 107 5.4.1.01 sasHelp _____________________________________________________________________ 107 5.4.1.02 sasShowChannels _____________________________________________________________ 108 5.4.1.03 sasShowMiswires _____________________________________________________________ 108 5.4.1.04 sasShowPhyErrStats ___________________________________________________________ 108 5.4.1.05 sasShowDevices ______________________________________________________________ 109 5.4.1.06 sasShowExpanders ____________________________________________________________ 110 5.4.1.07 sasShowAllExpanders _________________________________________________________ 111 5.5 Subystem Monitor (SSM)_____________________________________________________________ 111 5.5.1.01 ssmHelp ____________________________________________________________________ 112 5.5.1.02 ssmShow____________________________________________________________________ 113 5.5.1.03 ssmShowEnclosures ___________________________________________________________ 114 5.5.1.04 ssmAudibleAlarm _____________________________________________________________ 116 5.5.1.05 ssmIdentifyDrive _____________________________________________________________ 116 Appendix_____________________________________________________________________ 117 A.1 Destination Driver MEL Events Decoder _________________________________________ 117 A.1.1 FIBRE DRIVE-SIDE INTERFACES ONLY ___________________________________________ 117 A.2 LOOP-ID to ALPA conversion table_____________________________________________ 120 A.3 Engenio Host Sense Data and ASC/ASCQ codes ___________________________________ 121 A.3.1 Host Sense Data __________________________________________________________________ 121 A.3.1.01 Request Sense Data Format _____________________________________________________ 121 EngenioStorage Group LSI Logic, Inc. iii Troubleshooting and Technical Reference Guide - Volume 1 A.3.1.02 Incorrect Length Indicator (ILI) - Byte 2 ___________________________________________ 121 A.3.1.03 Sense Key - Byte 2 ____________________________________________________________ 122 A.3.1.04 Information Bytes - Bytes 3-6 ___________________________________________________ 122 A.3.1.05 Additional Sense Length - Byte 7_________________________________________________ 122 A.3.1.06 Command Specific Information - Bytes 8-11________________________________________ 122 A.3.1.07 Additional Sense Codes - Bytes 12-13 _____________________________________________ 122 A.3.1.08 Field Replaceable Unit Code - Byte 14 ____________________________________________ 122 A.3.1.09 Sense Key Specific Bytes - Bytes 15-17____________________________________________ 124 A.3.1.10 Recovery Actions - Bytes 18-19__________________________________________________ 124 A.3.1.11 Total Number Of Errors - Byte 20 ________________________________________________ 124 A.3.1.12 Total Retry Count - Byte 21 _____________________________________________________ 124 A.3.1.13 ASC/ASCQ Stack - Bytes 22-25 _________________________________________________ 124 A.3.1.14 Additional FRU Information - Bytes 26-33 _________________________________________ 124 A.3.1.15 Error Specific Information - Bytes 34-36 ___________________________________________ 128 A.3.1.16 Error Detection Point - Bytes 37-40 _______________________________________________ 128 A.3.1.17 Original CDB - Bytes 41-50 _____________________________________________________ 128 A.3.1.18 Host ID - Byte 51 _____________________________________________________________ 128 A.3.1.19 Host Descriptor - Bytes 52-53 ___________________________________________________ 128 A.3.1.20 Controller Serial Number - Bytes 54-69____________________________________________ 128 A.3.1.21 Array Software Revision - Bytes 70-73 ____________________________________________ 128 A.3.1.22 LUN Number - Byte 75 ________________________________________________________ 128 A.3.1.23 LUN Status - Byte 76 __________________________________________________________ 128 A.3.1.24 Drive Software Revision - Bytes 79-82 ____________________________________________ 129 A.3.1.25 Drive Product ID - Bytes 83-98 __________________________________________________ 129 A.3.1.26 Array Power-up Status - Bytes 99-100_____________________________________________ 129 A.3.1.27 RAID Level - Byte 101_________________________________________________________ 129 A.3.1.28 Drive Sense Identifier - Bytes 102-103 ____________________________________________ 129 A.3.1.29 Drive Sense Data - Bytes 104-135 ________________________________________________ 129 A.3.1.30 Sequence Number - Bytes 136-139 _______________________________________________ 129 A.3.1.31 Date and Time Stamp - Bytes 140-155_____________________________________________ 129 A.3.2 Sense Codes _____________________________________________________________________ 129 A.3.2.1 Sense Keys __________________________________________________________________ 129 A.3.2.2 Additional Sense Codes And Qualifiers ____________________________________________ 130 A.4 Industry Standard ASC/ASCQ Codes _________________________________________ 144 A.4.1 SCSI ASC/ASCQ Table Format Explanation ____________________________________ 144 A.4.2 SCSI ASC/ASCQ Assignments ________________________________________________ 144 A.5 SATA ASC/ASCQ Codes ___________________________________________________ 159 Subject Index – Volume 1 _______________________________________________________160 Subject Index – Volume 2 _______________________________________________________162
好例子网口号:伸出你的我的手 — 分享!
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论