| 48 | | server:~# mpt-status -i 0 |
| 49 | | ioc0 vol_id 0 type IM, 2 phy, 73 GB, state OPTIMAL, flags ENABLED |
| 50 | | ioc0 phy 1 scsi_id 32 ATA ST3808110AS J , 74 GB, state ONLINE, flags NONE |
| 51 | | ioc0 phy 0 scsi_id 1 ATA ST3808110AS J , 74 GB, state ONLINE, flags NONE |
| | 56 | server:~# sas2ircu 0 DISPLAY |
| | 57 | LSI Corporation SAS2 IR Configuration Utility. |
| | 58 | Version 5.00.00.00 (2010.02.09) |
| | 59 | Copyright (c) 2009 LSI Corporation. All rights reserved. |
| | 60 | |
| | 61 | Read configuration has been initiated for controller 0 |
| | 62 | ------------------------------------------------------------------------ |
| | 63 | Controller information |
| | 64 | ------------------------------------------------------------------------ |
| | 65 | Controller type : SAS2008 |
| | 66 | BIOS version : 7.01.04.00 |
| | 67 | Firmware version : 2.15.57.00 |
| | 68 | Channel description : 1 Serial Attached SCSI |
| | 69 | Initiator ID : 0 |
| | 70 | [...] |
| | 71 | ------------------------------------------------------------------------ |
| | 72 | IR Volume information |
| | 73 | ------------------------------------------------------------------------ |
| | 74 | IR volume 1 |
| | 75 | Volume ID : 79 |
| | 76 | Status of volume : Okay (OKY) |
| | 77 | RAID level : RAID1 |
| | 78 | Size (in MB) : 1800000 |
| | 79 | Boot : Primary |
| | 80 | Physical hard disks : |
| | 81 | PHY[0] Enclosure#/Slot# : 1:0 |
| | 82 | PHY[1] Enclosure#/Slot# : 1:1 |
| | 83 | ------------------------------------------------------------------------ |
| | 84 | Physical device information |
| | 85 | ------------------------------------------------------------------------ |
| | 86 | Initiator at ID #0 |
| | 87 | |
| | 88 | Device is a Hard disk |
| | 89 | Enclosure # : 1 |
| | 90 | Slot # : 0 |
| | 91 | State : Optimal (OPT) |
| | 92 | Size (in MB)/(in sectors) : 1907729/3907029167 |
| | 93 | Manufacturer : ATA |
| | 94 | Model Number : Hitachi HUA72202 |
| | 95 | |
| | 96 | [...] |
| | 97 | SAS2IRCU: Command DISPLAY Completed Successfully. |
| | 98 | SAS2IRCU: Utility Completed Successfully. |
| 80 | | In fact, I must admit all my ''"something-status"'' packages for others kind of cards are based on this work. |
| 81 | | |
| 82 | | == 3.2. lsiutil == |
| 83 | | |
| 84 | | This tool comes from LSI. Its sources (for Linux systems) are available but the license is not specified. |
| 85 | | [[BR]]I haven't use it much, so here is a quick example of what it can do: |
| 86 | | |
| 87 | | {{{ |
| 88 | | server:~# lsiutil |
| 89 | | |
| 90 | | LSI Logic MPT Configuration Utility, Version 1.56, March 19, 2008 |
| 91 | | |
| 92 | | 1 MPT Port found |
| 93 | | |
| 94 | | Port Name Chip Vendor/Type/Rev MPT Rev Firmware Rev IOC |
| 95 | | 1. /proc/mpt/ioc0 LSI Logic SAS1068E B3 105 00143000 0 |
| 96 | | |
| 97 | | Select a device: [1-1 or 0 to quit] 1 |
| 98 | | |
| 99 | | 1. Identify firmware, BIOS, and/or FCode |
| 100 | | 2. Download firmware (update the FLASH) |
| 101 | | 4. Download/erase BIOS and/or FCode (update the FLASH) |
| 102 | | 8. Scan for devices |
| 103 | | 10. Change IOC settings (interrupt coalescing) |
| 104 | | 13. Change SAS IO Unit settings |
| 105 | | 16. Display attached devices |
| 106 | | 20. Diagnostics |
| 107 | | 21. RAID actions |
| 108 | | 22. Reset bus |
| 109 | | 23. Reset target |
| 110 | | 42. Display operating system names for devices |
| 111 | | 45. Concatenate SAS firmware and NVDATA files |
| 112 | | 60. Show non-default settings |
| 113 | | 61. Restore default settings |
| 114 | | 69. Show board manufacturing information |
| 115 | | 97. Reset SAS link, HARD RESET |
| 116 | | 98. Reset SAS link |
| 117 | | 99. Reset port |
| 118 | | e Enable expert mode in menus |
| 119 | | p Enable paged mode |
| 120 | | w Enable logging |
| 121 | | |
| 122 | | Main menu, select an option: [1-99 or e/p/w or 0 to quit] 1 |
| 123 | | |
| 124 | | Current active firmware version is 00143000 (0.20.48) |
| 125 | | Firmware image's version is MPTFW-00.20.48.00-IE |
| 126 | | LSI Logic |
| 127 | | x86 BIOS image's version is MPTBIOS-6.14.10.00 (2007.09.29) |
| 128 | | |
| 129 | | Main menu, select an option: [1-99 or e/p/w or 0 to quit] 21 |
| 130 | | |
| 131 | | 1. Show volumes |
| 132 | | 2. Show physical disks |
| 133 | | 3. Get volume state |
| 134 | | 4. Wait for volume resync to complete |
| 135 | | 23. Replace physical disk |
| 136 | | 26. Disable drive firmware update mode |
| 137 | | 27. Enable drive firmware update mode |
| 138 | | 30. Create volume |
| 139 | | 31. Delete volume |
| 140 | | 32. Change volume settings |
| 141 | | 33. Change volume name |
| 142 | | 50. Create hot spare |
| 143 | | 99. Reset port |
| 144 | | e Enable expert mode in menus |
| 145 | | p Enable paged mode |
| 146 | | w Enable logging |
| 147 | | |
| 148 | | RAID actions menu, select an option: [1-99 or e/p/w or 0 to quit] 2 |
| 149 | | |
| 150 | | 1 volume is active, 2 physical disks are active |
| 151 | | |
| 152 | | PhysDisk 0 is Bus 0 Target 1 |
| 153 | | PhysDisk State: online |
| 154 | | PhysDisk Size 238418 MB, Inquiry Data: ATA ST3250620NS 3BKS |
| 155 | | |
| 156 | | PhysDisk 1 is Bus 0 Target 8 |
| 157 | | PhysDisk State: online |
| 158 | | PhysDisk Size 238418 MB, Inquiry Data: ATA ST3250620NS 3BKS |
| 159 | | |
| 160 | | RAID actions menu, select an option: [1-99 or e/p/w or 0 to quit] 1 |
| 161 | | |
| 162 | | 1 volume is active, 2 physical disks are active |
| 163 | | |
| 164 | | Volume 0 is Bus 0 Target 0, Type IM (Integrated Mirroring) |
| 165 | | Volume Name: |
| 166 | | Volume WWID: 01e2adb8d959aedc |
| 167 | | Volume State: optimal, enabled |
| 168 | | Volume Settings: write caching enabled, auto configure, priority resync |
| 169 | | Volume draws from Hot Spare Pools: 0 |
| 170 | | Volume Size 237464 MB, 2 Members |
| 171 | | Primary is PhysDisk 1 (Bus 0 Target 8) |
| 172 | | Secondary is PhysDisk 0 (Bus 0 Target 1) |
| 173 | | |
| 174 | | RAID actions menu, select an option: [1-99 or e/p/w or 0 to quit] 3 |
| 175 | | |
| 176 | | Volume 0 State: optimal, enabled |
| 177 | | |
| 178 | | RAID actions menu, select an option: [1-99 or e/p/w or 0 to quit] |
| 179 | | }}} |
| 180 | | |
| 181 | | [[BR]] |