[CentOS] smartd and 3ware 9xxx configs

Wed Feb 11 05:46:24 UTC 2009
S.Tindall <tindall.satwth at brandxmail.com>

On Tue, 2009-02-10 at 21:42 -0500, Jim Perrin wrote:
> I'm looking to do a bit more monitoring of my 3ware 9550 with smartd,
> and wanted to see what others were doing with smart for monitoring
> 3ware hardware.
> 
> Do you have the smartd.conf configured to test, or simply monitor health status?
> Are you monitoring the drive as centos sees it (/dev/sdX) or are you
> using the 3ware /dev/twaX for monitoring?
> 
> Opinions and discussions are welcome :-P

This is my smartd.conf for monitoring drives on a 9550SX:

/dev/twa0 -d 3ware,0 -H -m root
/dev/twa0 -d 3ware,1 -H -m root
/dev/twa0 -d 3ware,2 -H -m root
/dev/twa0 -d 3ware,3 -H -m root

Using smartctl is similar:

# smartctl -Hd 3ware,0 /dev/twa0 

It's straightforward to do testing with smartctl, but the above
-H/--health output gives you some warning that things aren't right
before the drive fails, especially the later lines of output (e.g.
Current_Pending_Sector, Offline_Uncorrectable). I run it as a weekly
cron job.


Steve