Solved

Raid monitoring tools for Intel AXXRAK18E under FreeBSD

Posted on 2008-09-29
10
760 Views
Last Modified: 2013-11-22
I am currently using the Intel AXXRAK18E RAID controller with FreeBSD 6.2. The system is working fine, but I would like to get a utility that will monitor the health of the array and notify me when an error occurs. I realize that I can monitor the system log files and determine this, but this does not tell me when the array is healthy, only that an error occurred.
0
Comment
Question by:RandalBarnes
  • 5
  • 5
10 Comments
 

Author Comment

by:RandalBarnes
ID: 22602413
Note: the RAID array shows up as mfi:

crw-r-----  1 root  operator    0,  30 Jan 16  2008 /dev/mfi0
crw-r-----  1 root  operator    0,  80 Jan 16  2008 /dev/mfid0
crw-r-----  1 root  operator    0,  81 Jan 16  2008 /dev/mfid0s1
crw-r-----  1 root  operator    0,  83 Jan 16  2008 /dev/mfid0s1a
crw-r-----  1 root  operator    0,  84 Jan 16  2008 /dev/mfid0s1b
crw-r-----  1 root  operator    0,  85 Jan 16  2008 /dev/mfid0s1c
crw-r-----  1 root  operator    0,  86 Jan 16  2008 /dev/mfid0s1d
crw-r-----  1 root  operator    0,  87 Jan 16  2008 /dev/mfid0s1e
crw-r-----  1 root  operator    0,  88 Jan 16  2008 /dev/mfid0s1f
crw-r-----  1 root  operator    0,  82 Jan 16  2008 /dev/mfid0s2
0
 
LVL 61

Expert Comment

by:gheist
ID: 22603541
Given manual for mfi sysutils/amrstat may be of help
It is actually made by lsi, maybe http://www.lsil.com/ has some linux management tool (fuven half-gigabyte linux emulation + X11

I wonder what is that "device removal" mentioned in manual page. I know mlxcontrol being full featured for mylex control and probably there is something in development...
0
 

Author Comment

by:RandalBarnes
ID: 22604247
I ran amrstat but it does not recognize the RAID array. I looked on LSI's site and the only thing I could find related to FreeBSD was a press release from 2005 that says MegaRAID® Adapters Now Feature FreeBSD 5.4 Support.
0
 
LVL 61

Expert Comment

by:gheist
ID: 22610285
0
 

Author Comment

by:RandalBarnes
ID: 22615780
When I look at LSI's website I see four MegaRAID SATA-300 controllers:

MegaRAID SATA 300-4XLP
MegaRAID SATA 300-8ELP
MegaRAID SATA 300-8X
MegaRAID SATA 300-8XLP

The controller I have is an Intel SRCSAS18E with an AXXRAK18E activation key. Is one of the LSI controllers above compatible with the Intel controller that I have? If so, how did you determine this?
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 61

Expert Comment

by:gheist
ID: 22615900
Since the resultant driver and tools are exactly same why should you care?
0
 

Author Comment

by:RandalBarnes
ID: 22654545
I tried installing MSM_Linux_2.88-00 from the LSI site. RPM was a prerequisite for this. RPM would not install on my FreeBSD 7 system. I think I will just write a program that monitors the /var/log/message file and alerts me when any messages are generated from the mfi subsystem.
0
 
LVL 61

Expert Comment

by:gheist
ID: 22656798
It has to be installed differently.
First you install linux_base_fc
Then you rpm2cpio MSM_Linux*.rpm
Then you locate "management tool" and run it. Odds are not high it will run at all, but at least worth trying.
0
 

Accepted Solution

by:
RandalBarnes earned 0 total points
ID: 22743280
I ended up doing what I knew would work all along, it's just not an elegant solution. I wrote a script that monitors the /var/log/messages file on a regular basis and pages me if it sees errors from device 'mfid'.
0
 
LVL 61

Assisted Solution

by:gheist
gheist earned 500 total points
ID: 22743450
Production versions may perform better.
http://www.freebsd.org/security/index.html#sup

Linux monitoring tools do not work since ioctls are incompatible.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now