Quote:
Originally Posted by benmok
how can use smartmontools to monitor the status of SATA harddisk?
|
Code:
yum install smartmontools
to install smartmontools if it's not already installed
As root you can run the "smartctl" command to check various things and change various SMART settings for the drive. Read the man page for details. For example, "smartctl -a /dev/whatever" shows all the status information for that drive.
You probably also want to turn on the "smartd" service. To have it load on boot, you can go into system-config-services and change "smartd" to on; or do "chkconfig smartd on" on the command line. And to start it immediately, do "service smartd start".