SCSI status MPT-Status

By admin. Filed in xSERIES  |  
TOP del.icio.us digg

The two scsi-discs is connected (SCSI 80 pin) to a LSI53C1030 raid1 interface .
As I run debian etch,I installed a debian-package “mtp-status
apt-get install mpt-status, fetch and install mpt-status  1.1.6-13

Some tweaking will be necessary to get in to work automatic.

First run mpt-status –autoload and se if it complains. Mine did:
open /dev/mptctl: No such file or directory
Try: mknod /dev/mptctl c 10 220
Also make sure mptctl is loaded into the kernel

So then you cat test what it suggest and try again
or you can try modprobe mptctl.
And bingo!
mpt-status
ioc0 vol_id 0 type IM, 2 phy, 68 GB, state OPTIMAL, flags ENABLED
ioc0 phy 0 scsi_id 0 IBM-ESXS ST373453LC    FN B85E, 68 GB, state ONLINE, flags NONE
ioc0 phy 1 scsi_id 1 IBM-ESXS ST373453LC    FN B85E, 68 GB, state ONLINE, flags NONE

I don´t want to do this after each boot,
Just add mptctl into /etc/modules so it reads:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with “#” are ignored.
loop
mptctl

And it will work after boot.
mail is to root by default,  /etc/init.d/mpt-statusd

Comments are closed.