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   short test The  short test is meant to quickly check the most common problems that could be found on a storage device. The test should take no more than 10 minutes: mechanical, electrical and read performances of a disk are checked. long test The  long test is basically a more accurate version of the “short” test. In can take a lot of time to complete: as stated in the the smartctl manual, it can last from tens of minutes to several hours. conveyance test The  conveyance test is meant to check for possible damages occurred during the transportation of the device. It usually takes minutes to complete a conveyance test. It is available only on ATA devices. select test The  select test, like the “conveyance” one, is available only on ATA devices, and is meant to check only the specified range of LBAs (Logical Block Addresses). The range of addresses is specified when launching the test. For example, to check addresses from 10 to 20 (inclusive), we would run: smartctl  -t select,10-20 -t option is for running a test immediately and specifies the test type short for --test