How to check disk health using Smartmontools on Linux

How to check disk health using Smartmontools on Linux

Smartmontools is open source tools to check your disk health.

It can be used to check hard disk, SAS disk, SSD and also check disk on raid conroller such as HP Smart Array controller, LSI Megaraid Dell PERC.

How to install Smartmontools on CentOS

To install Smartmontools on Ubuntu

Start and enable Smartmontools on start up

Enable Smart Capability for the disk /dev/sda

To disable Smart Capability for the disk /dev/sda

Use Smartmontools on regular drive or software raid

Below is example output for SSD drive

On Samsung SSD drive above you can check Wear_Leveling_Count 092, so the disk life time still 92%.

We can see Power_On_Hours is 29238, this mean the SSD has been power on for 29238 hours (1.218 days).

How to use Smartmontools on HP hp smart array raid controller

Example output SAS drive on HP hp smart array raid controller

Testing SSD drive sdb on HP raid controller

How to use Smartmontools on LSI Megaraid SAS RAID controller Dell PERC

Smartmontools on LSI 3ware SATA RAID controller

Smartmontools on Areca SATA[/SAS] RAID controller

Commandline Smartmontools on Adaptec SAS RAID controller

You can read more about Smartmontools on https://www.smartmontools.org

Leave a Reply

Your email address will not be published. Required fields are marked *