Changes between Initial Version and Version 1 of LSIFusionMPTSAS2


Ignore:
Timestamp:
12/08/10 20:44:39 (13 years ago)
Author:
Adam Cécile
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LSIFusionMPTSAS2

    v1 v1  
     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
     9The 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
     20There 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
     26Some ''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
     32There 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
     39Probe controllers IDs:[[BR]]
     40{{{
     41server:~# mpt-status -p
     42Checking for SCSI ID:0
     43Found SCSI id=0, use ''mpt-status -i 0`` to get more information.
     44}}}
     45
     46Get status of controller "0":[[BR]]
     47{{{
     48server:~# mpt-status -i 0
     49ioc0 vol_id 0 type IM, 2 phy, 73 GB, state OPTIMAL, flags ENABLED
     50ioc0 phy 1 scsi_id 32 ATA      ST3808110AS      J   , 74 GB, state ONLINE, flags NONE
     51ioc0 phy 0 scsi_id 1 ATA      ST3808110AS      J   , 74 GB, state ONLINE, flags NONE
     52}}}
     53
     54In most case, your controller ID will be 0. Running ''mpt-status'' '''without any parameters''' will give you the same output example as above.
     55
     56You '''MUST''' have '''mptctl''' kernel module '''loaded''' to monitor your RAID HBAs.[[BR]]
     57Load it by hand for the first time and add it to '''/etc/modules''' for next reboots:[[BR]]
     58{{{
     59modprobe mptctl
     60echo mptctl >> /etc/modules
     61}}}
     62
     63=== 3.1.2. My opinion about mpt-status ===
     64
     65Despite 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
     68Homepage: 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
     75The 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
     80In 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
     84This 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{{{
     88server:~# lsiutil
     89
     90LSI Logic MPT Configuration Utility, Version 1.56, March 19, 2008
     91
     921 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
     97Select 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
     10310.  Change IOC settings (interrupt coalescing)
     10413.  Change SAS IO Unit settings
     10516.  Display attached devices
     10620.  Diagnostics
     10721.  RAID actions
     10822.  Reset bus
     10923.  Reset target
     11042.  Display operating system names for devices
     11145.  Concatenate SAS firmware and NVDATA files
     11260.  Show non-default settings
     11361.  Restore default settings
     11469.  Show board manufacturing information
     11597.  Reset SAS link, HARD RESET
     11698.  Reset SAS link
     11799.  Reset port
     118 e   Enable expert mode in menus
     119 p   Enable paged mode
     120 w   Enable logging
     121
     122Main menu, select an option:  [1-99 or e/p/w or 0 to quit] 1
     123
     124Current active firmware version is 00143000 (0.20.48)
     125Firmware image's version is MPTFW-00.20.48.00-IE
     126  LSI Logic
     127x86 BIOS image's version is MPTBIOS-6.14.10.00 (2007.09.29)
     128
     129Main 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
     13523.  Replace physical disk
     13626.  Disable drive firmware update mode
     13727.  Enable drive firmware update mode
     13830.  Create volume
     13931.  Delete volume
     14032.  Change volume settings
     14133.  Change volume name
     14250.  Create hot spare
     14399.  Reset port
     144 e   Enable expert mode in menus
     145 p   Enable paged mode
     146 w   Enable logging
     147
     148RAID actions menu, select an option:  [1-99 or e/p/w or 0 to quit] 2
     149
     1501 volume is active, 2 physical disks are active
     151
     152PhysDisk 0 is Bus 0 Target 1
     153  PhysDisk State:  online
     154  PhysDisk Size 238418 MB, Inquiry Data:  ATA      ST3250620NS      3BKS
     155
     156PhysDisk 1 is Bus 0 Target 8
     157  PhysDisk State:  online
     158  PhysDisk Size 238418 MB, Inquiry Data:  ATA      ST3250620NS      3BKS
     159
     160RAID actions menu, select an option:  [1-99 or e/p/w or 0 to quit] 1
     161
     1621 volume is active, 2 physical disks are active
     163
     164Volume 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
     174RAID actions menu, select an option:  [1-99 or e/p/w or 0 to quit] 3
     175
     176Volume 0 State:  optimal, enabled
     177
     178RAID 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
     184Sorry, we don't have any informations about this.
     185
     186[[BR]][[BR]]