| 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 | servlcs:~# 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 | Please not you '''MUST''' have '''mptctl''' kernel modules '''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 | }}} |