Using S.M.A.R.T to check disk health
https://linuxconfig.org/how-to-check-an-hard-drive-health-from-the-command-line-using-smartctl
smartctl has to be run as sudo or root user
| smartctl -a /dev/sda shows all smart data from a drive |
|
Run the following tests in the scenarios
|
|
-t option is for running a test immediately and specifies the test type short for --test |
|
|