Monitor RAID status on debian etch

Nicolas Delanos nicolas.delanos at gmail.com
Tue Jul 21 05:09:12 CDT 2009


Hi Prashant,

Thanks for your reply.

oneohtwo:~# apt-get install mpt-status
Reading package lists... Done
Building dependency tree... Done
mpt-status is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.

oneohtwo:~# modprobe mptctl

oneohtwo:~#  lsmod | grep mpt
mptsas                 31120  0
mptscsih               29184  1 mptsas
scsi_transport_sas     36608  1 mptsas
mptctl                 29960  2
mptbase                56672  3 mptsas,mptscsih,mptctl
scsi_mod              153008  5  
mptsas,mptscsih,scsi_transport_sas,sd_mod,megaraid_sas

oneohtwo:~# mpt-status
MPI_FUNCTION_CONFIG (get page header): No such device

Every time I get this error but I have no idea how to fix that.


Le 09-07-21 à 05:39, Prashant Ramhit a écrit :

> Hi Nicola.
>
> You will need to get mpt status working before,
>
> 1. apt-get get install mpt-status
> 2. load the module by modprobe mptctl
> 3. check if module is loaded lsmod | grep mpt
>
> issue
> mpt-status command
> it will display the following
>
> root at hammerhead:~# mpt-status
> open /dev/mptctl: No such file or directory
> Try: mknod /dev/mptctl c 10 220
> Make sure mptctl is loaded into the kernel
>
> root at hammerhead:~# modprobe mptctl
>
> root at hammerhead:~# mpt-status
> ioc0 vol_id 0 type IM, 2 phy, 278 GB, state OPTIMAL, flags ENABLED
> ioc0 phy 1 scsi_id 9 SEAGATE  ST3300656SS      HS0A, 279 GB, state  
> ONLINE, flags NONE
> ioc0 phy 0 scsi_id 1 SEAGATE  ST3300656SS      HS0A, 279 GB, state  
> ONLINE, flags NONE
>
> Then follow the instructions from nagios exchange to get it  
> monitored from nagios
> http://pookey.co.uk/blog/archives/48-Monitoring-Dell-SAS-5iR-RAID-with-nagios.html
>
>
> Kind regards,
> Prashant
>
>
> Nicolas Delanos wrote:
>> Hello,
>>
>> I have a Dell PowerEdge 2950 with debian etch (2.6.18-6-amd64 #1  
>> SMP  Fri Dec 12 05:49:32 UTC 2008 x86_64 GNU/Linux).
>>
>> # lspci
>> 01:00.0 RAID bus controller: LSI Logic / Symbios Logic SAS1078 PCI- 
>> X  Fusion-MPT SAS (rev 04)
>>
>> I would like to monitor the RAID status. I tried to follow several   
>> tutorial but it doesn't work. Every time I get this error.
>>
>> # mpt-status
>> MPI_FUNCTION_CONFIG (get page header): No such device
>>
>> Can you help me ?
>>
>> Thanks in advance.
>>
>> _______________________________________________
>> Linux-PowerEdge mailing list
>> Linux-PowerEdge at lists.us.dell.com
>> https://lists.us.dell.com/mailman/listinfo/linux-poweredge
>> Please read the FAQ at http://lists.us.dell.com/faq
>>
>>
>
>
> -- 
> *Prashant Ramhit*
> /Technical/
> 	Blue Barracuda
> prashant at bluebarracuda.com <mailto:prashant at bluebarracuda.com>
> d: +44 (0)20 7923 6870
> t: +44 (0)20 7923 6840
> www.bluebarracuda.com <http://www.bluebarracuda.com>
>




More information about the Linux-PowerEdge mailing list