zhengweisk / aspersa

Automatically exported from code.google.com/p/aspersa
0 stars 0 forks source link

summary support for Fusion-MPT SAS #62

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This information may prove of use, providing the 'mptctl' kernel module is 
loaded.

root@zorin-red:/proc/mpt# ls
ioc0  summary  version
root@zorin-red:/proc/mpt# cat summary
ioc0: LSISAS1068E B3, FwRev=00192f00h, Ports=1, MaxQ=266, IRQ=16
root@zorin-red:/proc/mpt# cat version
mptlinux-3.04.15
  Fusion MPT base driver
  Fusion MPT SAS host driver
  Fusion MPT ioctl driver
root@zorin-red:/proc/mpt# ls ioc0/
info  summary
root@zorin-red:/proc/mpt# cat ioc0/info
ioc0:
  ProductID = 0x2704 (LSISAS1068E B3)
  FWVersion = 0x00192f00
  MsgVersion = 0x0105
  FirstWhoInit = 0x00
  EventState = 0x00
  CurrentHostMfaHighAddr = 0x00000002
  CurrentSenseBufferHighAddr = 0x00000002
  MaxChainDepth = 0x22 frames
  MinBlockSize = 0x20 bytes
  RequestFrames @ 0xffff880232482800 (Dma @ 0x0000000232482800)
    {CurReqSz=128} x {CurReqDepth=266} = 34048 bytes ^= 0x9000
    {MaxReqSz=128}   {MaxReqDepth=266}
  Frames   @ 0xffff880232480000 (Dma @ 0x0000000232480000)
    {CurRepSz=80} x {CurRepDepth=128} = 10240 bytes ^= 0x2880
    {MaxRepSz=0}   {MaxRepDepth=511}
  MaxDevices = 112
  MaxBuses = 1
  PortNumber = 1 (of 1)
root@zorin-red:/proc/mpt# cat ioc0/summary
ioc0: LSISAS1068E B3, FwRev=00192f00h, Ports=1, MaxQ=266, IRQ=16

root@zorin-red:/proc/mpt# mpt-status
ioc0 vol_id 0 type IM, 2 phy, 465 GB, state OPTIMAL, flags ENABLED
ioc0 phy 1 scsi_id 8 ATA      WDC WD5000AAKS-0 1D05, 465 GB, state ONLINE, 
flags NONE
ioc0 phy 0 scsi_id 1 ATA      WDC WD5000AAKS-0 1D05, 465 GB, state ONLINE, 
flags NONE

root@zorin-red:/proc/mpt# mpt-status --newstyle
ioc:0 vol_id:0 type:IM raidlevel:RAID-1 num_disks:2 size(GB):465 state: OPTIMAL 
flags: ENABLED
ioc:0 phys_id:1 scsi_id:8 vendor:ATA      product_id:WDC WD5000AAKS-0 
revision:1D05 size(GB):465 state: ONLINE flags: NONE sync_state: 100 
ASC/ASCQ:0xff/0xff SMART ASC/ASCQ:0xff/0xff
ioc:0 phys_id:0 scsi_id:1 vendor:ATA      product_id:WDC WD5000AAKS-0 
revision:1D05 size(GB):465 state: ONLINE flags: NONE sync_state: 100 
ASC/ASCQ:0xff/0xff SMART ASC/ASCQ:0xff/0xff
scsi_id:1 100%
scsi_id:0 100%

Further reading: http://www.drugphish.ch/~ratz/mpt-status/readme.txt

Original issue reported on code.google.com by james.mk...@gmail.com on 17 Nov 2010 at 2:14