36

I'm beginning to worry about my ~3yr old WD Green drive. In the last few days i've noticed that my media player is acting weird, it won't move to the next track after a song has finished and also won't play new songs when I double click.

So, I downloaded the "smartmontools" package and used "sudo smartctl -a /dev/sdb2" to check out the drive. Here is a snapshot of the output:

    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   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   164   163   021    Pre-fail  Always       -       6758
  4 Start_Stop_Count        0x0032   099   099   000    Old_age   Always       -       1353
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   100   253   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   092   092   000    Old_age   Always       -       5846
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       1201
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       61
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       1353
194 Temperature_Celsius     0x0022   124   112   000    Old_age   Always       -       26
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   198   000    Old_age   Always       -       3311
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       0

I'm worried most about the "Pre-fail" rows.. does this mean that the drive could fail at any time or what?

0

4 Answers 4

30

If you read the column headers, you'd see that pre-fail is the type of statistic that's collected not the status. The When_Failed column being empty should also give you some hints about whether or not anything has failed (nothing has).

When in doubt, read the manpage or look for documentation on your problem.

2
  • 7
    +1 for read the manual when worried. Doing it before just wouldn't be manly.
    – Joe Taylor
    Nov 5, 2011 at 12:30
  • 11
    Points for condescension but you didn't really answer the question. Mar 19, 2016 at 1:21
26

Each Attribute also has a Threshold value (whose range is 0 to 255) which is printed under the heading "THRESH". If the Normalized value is less than or equal to the Threshold value, then the Attribute is said to have failed. If the Attribute is a pre-failure Attribute, then disk failure is imminent.

So as long as the normalized value is higher than the thresshold value there's nothing to worry about.
Source: http://smartmontools.sourceforge.net/man/smartctl.8.html

1
  • 4
    But the threshold value of a lot of these attributes is ZERO... how can the threshold value ever be less than that if its normalized values is in the range of 0 to 255??? (And some of these I would expect to be important, like "raw read error rate" and "reallocated sector count")
    – Michael
    Feb 18, 2020 at 19:31
10

Your hard disks seems fine. No reallocated sectors, no other failed columns. To be sure. try to do a fsck and a hard disk self test: smartctl -t long /dev/sdb - this one will take some hours. You will be able to read the results using the same command you used above.

Smart is per disk, not per volume, so pass the drive, not the volume (though smartctl seems to be clever enough to find your disk anyhow).

-3

TL;DR This may be helpful, or at least help explain things:

https://wiki.unraid.net/Understanding_SMART_Reports

Every time my laptop seems to stop for a few seconds I wonder if it's a disk access problem. That prompts me to run the SMART Long test, which takes hours but afterward seems to 'fix' things for a little while. I'd really like a record of any read that takes longer than maybe one second, then the info in that sector moved to an unused area, and the slow sector marked bad. I suspect it would speed up my drive, though it may fill with 'bad' sectors. But I might be very wrong about all this.

This also prompts me to look online for more SMART info, which is usually wanting and always incomplete. This time I found this question and the above "incomplete" webpage that at least explains many of the problems and vagaries of the SMART system.

1
  • 1
    While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review Feb 24, 2023 at 7:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .