MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: How To Install smartctl Utility On CentOS?  (Read 12827 times)

0 Members and 1 Guest are viewing this topic.

Offline Dipak Bhoi

  • MilesWeb Team Member
  • Full Member
  • ***
  • Posts: 208
  • Karma: +5/-0
    • View Profile
    • MilesWeb Internet Services
How To Install smartctl Utility On CentOS?
« on: December 10, 2014, 02:43:25 PM »
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.com
cPanel Hosting in India - cPanel Hosting in India.

Grab an SSL for your website and SAVE 20% now. Coupon Code SSLSAVE20.

MilesWeb Hosting Forum

How To Install smartctl Utility On CentOS?
« on: December 10, 2014, 02:43:25 PM »