How To Install smartctl Utility On CentOS?

Started by Dipak Bhoi, December 10, 2014, 02:43:25 PM

Previous topic - Next topic

Dipak Bhoi

Hello Guys,

Smartctl (Self-Monitoring, Analysis and Reporting Technology) is a command line utility or a tool in UNIX like operating system that perform SMART tasks such as printing the SMART self-test and error logs, enabling and disabling SMART automatic testing, and initiating device self-tests.

Steps to install of Smartcl in CentOS:


1. Login to your server via SSH as a root user.

2. Use yum command to install Smartctl.

Quote#yum install smartmontools

3. Now start the service of Smartctl.

Quote#service smartd start
# chkconfig smartd on

3. To enable Smart Capability for the disk run below command.

Quote#smartctl -s on /dev/sdb

4. To disable Smart Capability for the disk run below command.

Quote#smartctl -s off  /dev/sdb

5. To display details Smart info for the disk run below command.

Quote#smartctl -a /dev/sdb              // For IDE drive
#smartctl -a -d ata /dev/sdb       // For SATA drive

That's it, Enjoy !!
MilesWeb - 30-Day Money Back
cPanel Web Hosting - cPanel Hosting in India
Grab a Free SSL for your website.  WordPress Optimized Solution.