>>>>> "MSH" == Matthew S Hallacy <poptix at techmonkeys.org> writes:

 MSH> On Wed, Mar 26, 2003 at 10:11:31PM -0600, Jon Schewe wrote:
 >> I've got a system with a Promise FastTrack IDE RAID card in it and I'm
 >> wondering how one goes about monitoring it for drive failuers.  I found out
 >> that I can cat /proc/scsi/FastTrack/0 and get some information and I could
 >> automate this, but I'm thinking that someone else has probably already done
 >> this and probably done it better than I will.  Any suggestions?

 MSH> I'm fairly sure that those report SMART monitoring information -- I'd 
 MSH> recommend trying out the smartctl package, and google for harddisk monitoring
 MSH> as there's a few different versions of the SMART monitoring stuff.

Thanks for the tip.  I just tried it and all I got was this.  I'm assuming
it'll say something like 'Sense: drive failed' if a drive fails?  So I
should just run this in a cron job and have it email me when something
other than 'Okay' shows up?

Here's my output:
# smartctl -a /dev/sda
Device: Promise  1X2 Mirror/RAID1 Version: 1.10
Device supports S.M.A.R.T. and is Enabled
Temperature Warning Disabled or Not Supported
S.M.A.R.T. Sense: Okay!

-- 
Jon Schewe | http://mtu.net/~jpschewe | jpschewe at mtu.net
For I am convinced that neither death nor life, neither angels 
nor demons, neither the present nor the future, nor any 
powers, neither height nor depth, nor anything else in all 
creation, will be able to separate us from the love of God that 
is in Christ Jesus our Lord. - Romans 8:38-39

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list