| | 1 | [[TOC(depth=-1)]] |
| | 2 | = LSI Fusion MPT SAS = |
| | 3 | |
| | 4 | [[Image(wiki:LSI:logo_lsi.gif)]] |
| | 5 | [[BR]][[BR]] |
| | 6 | |
| | 7 | = 1. Card information = |
| | 8 | |
| | 9 | The FusionMPT SAS2 is a low-end card from LSI. It replaces the Fusion MPT cards. |
| | 10 | [[BR]]It only supports RAID0 and RAID1 an can usually be found in many 1U rackmount servers which have only two disks drives. However, I must admit I'm not sure yet there's no RAID5 adapter with thoses chips. |
| | 11 | [[BR]]Even it's not full of features theses card appear to work fine and are supported by an '''opensource Linux driver'''. |
| | 12 | [[BR]]A proprietary monitoring tool is available but it's nearly offer '''no management features'''. |
| | 13 | |
| | 14 | [[BR]] |
| | 15 | = 2. Linux kernel drivers = |
| | 16 | |
| | 17 | || Driver || Supported cards || |
| | 18 | || mpt2sas || LSI FusionMPT SAS 2.0 cards || |
| | 19 | |
| | 20 | There are many more mpt* drivers in Linux kernel. |
| | 21 | [[BR]]Somes seems to be required dependencies. Others looks like being real driver but we haven't used them yet. |
| | 22 | |
| | 23 | ''mpt2sas'' has been added to Linux kernel '''from 2.6.30 release'''. Thus, it should be available in all '''recent (2010+) Linux distributions'''. |
| | 24 | |
| | 25 | |
| | 26 | Some ''lspci -nn'' output examples: |
| | 27 | |
| | 28 | * 01:00.0 Serial Attached SCSI controller [0107]: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] [1000:0072] (rev 02) ''Dell PERC H200'' |
| | 29 | [[BR]] |
| | 30 | = 3. Management and reporting tools = |
| | 31 | |
| | 32 | There are '''no management tool'''. LSI doesn't provide any proprietary utility for FusionMPT's cards. |
| | 33 | [[BR]]However an '''opensource reporting tool''' named ''mpt-status'' has been developped. |
| | 34 | |
| | 35 | == 3.1. mpt-status == |
| | 36 | |
| | 37 | === 3.1.1. Quickstart and output example === |
| | 38 | |
| | 39 | Probe controllers IDs:[[BR]] |
| | 40 | {{{ |
| | 41 | server:~# mpt-status -p |
| | 42 | Checking for SCSI ID:0 |
| | 43 | Found SCSI id=0, use ''mpt-status -i 0`` to get more information. |
| | 44 | }}} |
| | 45 | |
| | 46 | Get status of controller "0":[[BR]] |
| | 47 | {{{ |
| | 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 |
| | 52 | }}} |
| | 53 | |
| | 54 | In most case, your controller ID will be 0. Running ''mpt-status'' '''without any parameters''' will give you the same output example as above. |
| | 55 | |
| | 56 | You '''MUST''' have '''mptctl''' kernel module '''loaded''' to monitor your RAID HBAs.[[BR]] |
| | 57 | Load it by hand for the first time and add it to '''/etc/modules''' for next reboots:[[BR]] |
| | 58 | {{{ |
| | 59 | modprobe mptctl |
| | 60 | echo mptctl >> /etc/modules |
| | 61 | }}} |
| | 62 | |
| | 63 | === 3.1.2. My opinion about mpt-status === |
| | 64 | |
| | 65 | Despite it seems that '''no real upstream development''' exists for this tool, it works '''fine''' and is '''reliable'''. |
| | 66 | [[BR]]We experienced several disks failure on MPT SAS controllers and mpt-status always reported the failure and status changes. [[BR]]However don't expected verbose output. |
| | 67 | |
| | 68 | Homepage: http://www.drugphish.ch/~ratz/mpt-status/ |
| | 69 | |
| | 70 | === 3.1.3. Reporting with mpt-status === |
| | 71 | |
| | 72 | ''mpt-status'' has been greatly integrated to Debian by '''Petter Reinholdtsen and Steffen Joeris'''. |
| | 73 | [[BR]]Many thanks to them for good work ! |
| | 74 | |
| | 75 | The packages comes with an initscript that '''periodic''' run mpt-status to '''check status'''. |
| | 76 | [[BR]]It keeps a file with latest status and thus is able to detect RAID '''status changes and/or brokeness'''. |
| | 77 | [[BR]]It will log a ligne to '''syslog''' when something failed and will send you a '''mail'''. |
| | 78 | [[BR]]Until arrays are healthy again a '''reminder''' will be sent each 2 hours. |
| | 79 | |
| | 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]] |
| | 182 | = 4. BIOS upgrade from a Linux system = |
| | 183 | |
| | 184 | Sorry, we don't have any informations about this. |
| | 185 | |
| | 186 | [[BR]][[BR]] |