Difference between revisions of "Monitor Disk Health"

From SME Server
Jump to navigationJump to search
m
Line 20: Line 20:
  
 
http://www.linuxmanpages.com/man8/smartd.8.php <br>
 
http://www.linuxmanpages.com/man8/smartd.8.php <br>
http://www.captain.at/howto-linux-smartmontools-smartctl.php
 
  
 
Error code description: http://en.wikipedia.org/wiki/S.M.A.R.T.  
 
Error code description: http://en.wikipedia.org/wiki/S.M.A.R.T.  
  
 
<noinclude>[[Category:Howto]][[Category:Administration:Monitoring]]</noinclude>
 
<noinclude>[[Category:Howto]][[Category:Administration:Monitoring]]</noinclude>

Revision as of 12:37, 16 February 2013

Monitor Disk Health

Self-Monitoring, Analysis and Reporting Technology (SMART) is built into many ATA-3 and later ATA, IDE and SCSI-3 hard drives. The purpose of SMART is to monitor the reliability of the hard drive and predict drive failures, and to carry out different types of drive self-tests.

To enable

config setprop smartd status enabled

And start, (smartd will start automatically on a reboot if enabled)

/etc/rc.d/init.d/smartd start

Errors are emailed admin if and when they are found.

To manually check disks

Generate report

smartctl -t short /dev/hdc (1 minute)
smartctl -t long /dev/hdc (1 hour)

View report

smartctl -a /dev/hdc

http://www.linuxmanpages.com/man8/smartd.8.php

Error code description: http://en.wikipedia.org/wiki/S.M.A.R.T.