[CentOS] smartd and 3ware 9xxx configs

Wed Feb 11 05:52:15 UTC 2009
Ray Van Dolson <rayvd at bludgeon.org>

On Wed, Feb 11, 2009 at 12:46:24AM -0500, S.Tindall wrote:
> 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.
> 

Do you ever run the long/short tests?  These are mentioned in the
smartd.conf 3ware examples.

I've never enabled them.

Ray