Changes

From SME Server
Jump to navigationJump to search
179 bytes removed ,  08:00, 27 October 2007
no edit summary
Line 6: Line 6:  
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.
 
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.
   −
====Method 1====
+
 
Enable
+
To enable
 
  config set smartd service  
 
  config set smartd service  
 
  config setprop smartd status enabled
 
  config setprop smartd status enabled
 
  ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S40smartd
 
  ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S40smartd
   −
This will log warnings to /var/log/messages, Emails to admin on critical errors would be good.
+
This will log warnings to /var/log/messages.
 
  −
 
  −
====Method 2====
  −
Create a script that will run at each re-boot, with your own options <br>
  −
this method just saves having to template the config file
     −
  nano -w /etc/e-smith/events/local/S40smartd
+
to send warning to admin. append the '''-m admin''' directive to DEVICESCAN in the config file
  #! /bin/sh
+
  nano -w /etc/smartd.conf  
  smartd -H -m admin -M diminishing -M test
+
  DEVICESCAN -m admin [-M diminishing -M test optional/test]
  −
chmod +x /etc/e-smith/events/local/S40smartd
 

Navigation menu