Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have some servers with RAID arrays based on LSI Logic MPT chips (specifically the SAS1068E). Currently the only way I'm aware of to get the disk status is to use the lsiutil program and view the status there interactively.

I'd like to be able to monitor this through a cron job or other script but there doesn't seem to be a non-interactive mode to lsiutil. What do people use?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Did you already try mpt-status?

share|improve this answer
    
Yes I tried that one as well. Unfortunately no matter what I do I cannot get any kind of output from it.. –  Kamil Kisiel Jan 28 '10 at 22:32
    
To load the kernel module that enables mpt-status to work: mpt-status --autoload, or modprobe mptctl; –  Nupraptor Jan 20 '11 at 18:32
1  
If you have your RAID in a non-default SCSI id, mpt-status -p will tell you where it is; Running mpt-status -i <number> with the SCSI id will give you the status. Sorry, I accidentally saved the comment, and took more than 5 minutes editing... –  Nupraptor Jan 20 '11 at 18:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.