Check disk status using smartmontools on Linux

There’s a smart way to check the physical disk status on the Linux OS.

 

By using the tool named “smartmontools” ! which as obvious as it sounds, is a tool used to monitor and control the OS storage systems.

 

SMART stands for the Self-Monitoring, Analysis and Reporting Technology (SMART) system

 

It should help sysadmin to monitor the reliability of the hard drive, and predict the drive failure ahead of actual failure to prevent any incidents!

 

Here’s the command to scan and print out all the devices

smartctl –scan

 

Here’s the command to print out all the SMART information about specified disk

*it is sdd in this example

smartctl -a /dev/sdd

 

Here’s the command to print out all the SMART & non-SMART information about specified disk

*it is sdd in this example

smartctl -x /dev/sdd