
Originally Posted by
TheFu
smartctl and badblocks are the tools to be used.
I installed the smartmontools package and ran...
Code:
smartctl -a /dev/sda
however this returned the error "Read Device Identity failed: scsi error unsupported field in scsi command", the same error is returned when running...
Code:
smartctl -d scsi --test=long /dev/sda
I've searched online and there is some reference to others having the same issues when trying to run long tests, but I'm afraid at this time the answers are beyond my understanding.
Could this possibly indicate a problem with the drive in itself?
It's worth mentioning that I have no problem reading the smart data from my main drive which is an M.2 NVME ssd.
Edit: Some progress, I managed to read the smart data from the drive by following the steps outlined within the first answer of this thread, however I still get the same error when trying to run a short test (weird).
What I would like to know is how to read (understand) the 'vendor specific smart attributes and thresholds' section, I have posted it's output below...
Code:
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 100 100 051 Pre-fail Always - 2
2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0
3 Spin_Up_Time 0x0023 090 090 025 Pre-fail Always - 3181
4 Start_Stop_Count 0x0032 095 095 000 Old_age Always - 5910
5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0
8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 938
10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 4
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 987
191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 174
192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
194 Temperature_Celsius 0x0002 064 064 000 Old_age Always - 31 (Min/Max 5/44)
195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0
196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 252 252 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0036 100 100 000 Old_age Always - 1
200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 180
223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 4
225 Load_Cycle_Count 0x0032 097 097 000 Old_age Always - 31843
I'm seeing the words 'pre-fail' and 'old age' a lot but as I don't know how to correctly interpret the output, I'm unsure as to what this means. A glancing over by a trained eye would be appreciated!
Bookmarks