2

I no longer can check my external HDD status by using SMART data and self-tests.

Using disks the option that was available before is just disabled as in the following screenshot: enter image description here

I guess it's related to some permissions, but I don't know what to do.

Fabby
  • 35,017

2 Answers2

3

It's never good news if a hard-disk suddenly starts not reporting on SMART data.

Therefore, please check if your drive have SMART capabilities:

sudo hdparm -I /dev/XdY

(where X=h or s and Y=a, b, c, ... depending on your hardware) and enable it:

sudo smartctl --smart=on /dev/sdb 

and install the command-line version of the SMART monitoring:

apt-get install smartmontools

Then perform the command:

smartctl --scan

which should give you the drives you have on the system. Then perform a more in-depth scan on the troubled drive by typing:

smartctl --all /dev/XdY

If the test above doesn't give any conclusive results, run an even more in-depth testing by:

smartctl --all /dev/XdY --test=short

For more information: man smartctl

In your case, with serious errors, please make a back-up first and then go out and buy a new drive!

Fabby
  • 35,017
0

You can list all drives and check in one line command.

for i in {a..z}; do printf "\n/dev/sd$i\n"; smartctl --all /dev/sd$i | grep -i '$family\|model\|capacity\|Serial Number\|reallocated_Sector\|Uncorrectable\|Start_Stop_Count\|Power_On_Hours\|Power_Cycle_Count\|Command_Timeout\|High_Fly_Writes\|Airflow_Temperature\|Temperature_Celsius\|Load_Cycle_Count\|Current_Pending_Sector\|Retract_Count\|Reported_Uncorrect'; done