Opened 2 months ago

Last modified 10 days ago

#1227 new defect

SMART test generates possible false positives

Reported by: hse Owned by:
Priority: minor Milestone: undecided
Component: smartd Version: 7.0
Keywords: Cc:

Description

Hello.

On some servers we use CRUCIAL CT2000MX500SSD1 ssd's. We test them regularly every day. The tests finishes most of the time without problem but sometimes we receive following notification:

This message was generated by the smartd daemon running on:

   host name:  example
   DNS domain: example.com

The following warning/error was logged by the smartd daemon:

Device: /dev/sdx [SAT], 1 Currently unreadable (pending) sectors

Device info:
CT2000MX500SSD1, S/N:00000000000, WWN:000000000000000, FW:M3CR023, 2.00 TB

For details see host's SYSLOG.

You can also use the smartctl utility for further investigation.
No additional messages about this problem will be sent.

But when I check the SMART Self-test revisions there is no issue reported:

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%       199         -
# 2  Short offline       Completed without error       00%       191         -
# 3  Short offline       Completed without error       00%       182         -
# 4  Short offline       Completed without error       00%       174         -
# 5  Extended offline    Completed without error       00%       167         -
# 6  Short offline       Completed without error       00%       166         -
# 7  Short offline       Completed without error       00%       159         -
# 8  Short offline       Completed without error       00%       152         -
# 9  Short offline       Completed without error       00%       145         -
#10  Short offline       Completed without error       00%       139         -
#11  Short offline       Completed without error       00%       132         -
#12  Short offline       Completed without error       00%       125         -
#13  Extended offline    Completed without error       00%       119         -
#14  Short offline       Completed without error       00%       118         -
#15  Short offline       Completed without error       00%       111         -
#16  Short offline       Completed without error       00%       104         -
#17  Short offline       Completed without error       00%        96         -
#18  Short offline       Completed without error       00%        89         -
#19  Short offline       Completed without error       00%        82         -
#20  Short offline       Completed without error       00%        75         -
#21  Extended offline    Completed without error       00%        68         -

In the SMART Attributes there is no telling something is wrong with the device. No Pending sectors has been logged and the drive is completely new:

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   000    Pre-fail  Always       -       0
  5 Reallocate_NAND_Blk_Cnt 0x0032   100   100   010    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       203
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       1
171 Program_Fail_Count      0x0032   100   100   000    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   000    Old_age   Always       -       0
173 Ave_Block-Erase_Count   0x0032   100   100   000    Old_age   Always       -       4
174 Unexpect_Power_Loss_Ct  0x0032   100   100   000    Old_age   Always       -       0
180 Unused_Reserve_NAND_Blk 0x0033   000   000   000    Pre-fail  Always       -       83
183 SATA_Interfac_Downshift 0x0032   100   100   000    Old_age   Always       -       0
184 Error_Correction_Count  0x0032   100   100   000    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0022   059   046   000    Old_age   Always       -       41 (Min/Max 0/54)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   100   100   000    Old_age   Always       -       0
202 Percent_Lifetime_Remain 0x0030   100   100   001    Old_age   Offline      -       0
206 Write_Error_Rate        0x000e   100   100   000    Old_age   Always       -       0
210 Success_RAIN_Recov_Cnt  0x0032   100   100   000    Old_age   Always       -       0
246 Total_Host_Sector_Write 0x0032   100   100   000    Old_age   Always       -       2966529424
247 Host_Program_Page_Count 0x0032   100   100   000    Old_age   Always       -       56912802
248 FTL_Program_Page_Count  0x0032   100   100   000    Old_age   Always       -       149379986

smartctl -i /dev/sdx:

# smartctl -i /dev/sda
smartctl 7.0 2018-12-30 r4883 [x86_64-linux] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Crucial/Micron BX/MX1/2/3/500, M5/600, 1100 SSDs
Device Model:     CT2000MX500SSD1
Serial Number:    000000000000
LU WWN Device Id: 0 000000 000000000
Firmware Version: M3CR023
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Wed Aug  7 13:09:20 2019 -00
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

So I am creating this as bug with false positive defect.

Thank you and have a nice day.

Change History (2)

comment:1 Changed 2 months ago by Christian Franke

Component: smartctlsmartd
Milestone: undecided

Please provide configuration line for this device from smartd.conf file.

Please check syslog for smartd ... Currently unreadable (pending) sectors messages.

comment:2 Changed 10 days ago by Sjonny

Chiming in on this ticket. I have 2 seemingly bogus reports about a CurrentPendingSector error. I do not run a smart test regularly. I only ran a short one after I got the first report. I have no clue what it all means but it seems a bit contradictionary (output at the end of this).

System: Debian 10
Package: smartmontools 6.6-1

1st email was on Fri, 4 Oct 2019 23:32:47 +0200
2nd email was on Mon, 7 Oct 2019 08:02:47 +0200

System startup messages concerning harddisk:

Oct  3 19:02:47 kirika kernel: [    2.567604] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
Oct  3 19:02:47 kirika kernel: [    2.567606] sd 0:0:0:0: [sda] 4096-byte physical blocks
Oct  3 19:02:47 kirika kernel: [    2.567613] sd 0:0:0:0: [sda] Write Protect is off
Oct  3 19:02:47 kirika kernel: [    2.567614] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
Oct  3 19:02:47 kirika kernel: [    2.567624] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Oct  3 19:02:47 kirika kernel: [    2.568219]  sda: sda1
Oct  3 19:02:47 kirika kernel: [    2.568941] sd 0:0:0:0: [sda] supports TCG Opal
Oct  3 19:02:47 kirika kernel: [    2.568944] sd 0:0:0:0: [sda] Attached SCSI disk
Oct  3 19:02:47 kirika kernel: [    3.734781] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
Oct  3 19:02:47 kirika kernel: [    4.070924] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
Oct  3 19:02:47 kirika smartd[465]: Device: /dev/sda [SAT], CT500MX500SSD1, S/N:1927E2119CC7, WWN:5-00a075-1e2119cc7, FW:M3CR023, 500 GB
Oct  3 19:02:47 kirika smartd[465]: Device: /dev/sda [SAT], is SMART capable. Adding to "monitor" list.
Oct  3 19:02:47 kirika smartd[465]: Device: /dev/sda [SAT], not found in smartd database.
Oct  3 19:02:47 kirika smartd[465]: Device: /dev/sda [SAT], opened
Oct  3 19:02:47 kirika smartd[465]: Device: /dev/sda [SAT], state read from /var/lib/smartmontools/smartd.CT500MX500SSD1-1927E2119CC7.ata.state
Oct  3 19:02:47 kirika smartd[465]: Device: /dev/sda [SAT], state written to /var/lib/smartmontools/smartd.CT500MX500SSD1-1927E2119CC7.ata.state
Oct  3 19:02:47 kirika smartd[465]: Device: /dev/sda, type changed from 'scsi' to 'sat'

Syslogs without temperature lines (temp changes between 65 and 67 values)

for 1st email:

Oct  4 23:32:47 kirika smartd[465]: Device: /dev/sda [SAT], 1 Currently unreadable (pending) sectors
Oct  5 00:02:47 kirika smartd[465]: Device: /dev/sda [SAT], No more Currently unreadable (pending) sectors, warning condition reset after 1 email

for 2nd email:

Oct  7 08:02:47 kirika smartd[465]: Device: /dev/sda [SAT], 1 Currently unreadable (pending) sectors
Oct  7 08:32:47 kirika smartd[465]: Device: /dev/sda [SAT], No more Currently unreadable (pending) sectors, warning condition reset after 1 email

I upgraded /var/lib/smartmontools/drivedb/drivedb.h in between the reports hoping it would fix something. I see more names in smartctl since but the second email still arrived.

$ ls -l /var/lib/smartmontools/drivedb
total 380
-rw-r--r-- 1 root root 207995 okt  5 09:41 drivedb.h
-rw-r--r-- 1 root root 179580 okt 15  2018 drivedb.h.old

Here, the .old file is the one shipped by Debian. I did not restart the smartd daemon though, it's only just now that I did that. Maybe that would help?

The /etc/smartd.conf is the original debian one, one line when comments are stipped:

DEVICESCAN -d removable -n standby -m root -M exec /usr/share/smartmontools/smartd-runner

Current output of smartctl -a /dev/sda:

smartctl 6.6 2017-11-05 r4594 [x86_64-linux-5.2.0-0.bpo.2-amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Crucial/Micron BX/MX1/2/3/500, M5/600, 1100 SSDs
Device Model:     CT500MX500SSD1
Serial Number:    1927E2119CC7
LU WWN Device Id: 5 00a075 1e2119cc7
Firmware Version: M3CR023
User Capacity:    500,107,862,016 bytes [500 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Oct  7 23:10:39 2019 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82) Offline data collection activity
                                        was completed without error.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                (    0) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        (  30) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x0031) SCT Status supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

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   000    Pre-fail  Always       -       0
  5 Reallocate_NAND_Blk_Cnt 0x0032   100   100   010    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       206
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       9
171 Program_Fail_Count      0x0032   100   100   000    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   000    Old_age   Always       -       0
173 Ave_Block-Erase_Count   0x0032   100   100   000    Old_age   Always       -       3
174 Unexpect_Power_Loss_Ct  0x0032   100   100   000    Old_age   Always       -       0
180 Unused_Reserve_NAND_Blk 0x0033   000   000   000    Pre-fail  Always       -       42
183 SATA_Interfac_Downshift 0x0032   100   100   000    Old_age   Always       -       0
184 Error_Correction_Count  0x0032   100   100   000    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0022   067   049   000    Old_age   Always       -       33 (Min/Max 0/51)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   100   100   000    Old_age   Always       -       0
202 Percent_Lifetime_Remain 0x0030   100   100   001    Old_age   Offline      -       0
206 Write_Error_Rate        0x000e   100   100   000    Old_age   Always       -       0
210 Success_RAIN_Recov_Cnt  0x0032   100   100   000    Old_age   Always       -       0
246 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       501960200
247 Host_Program_Page_Count 0x0032   100   100   000    Old_age   Always       -       9157853
248 FTL_Program_Page_Count  0x0032   100   100   000    Old_age   Always       -       25021935

SMART Error Log Version: 1
Warning: ATA error count 0 inconsistent with error log pointer 1

ATA Error Count: 0
        CR = Command Register [HEX]
        FR = Features Register [HEX]
        SC = Sector Count Register [HEX]
        SN = Sector Number Register [HEX]
        CL = Cylinder Low Register [HEX]
        CH = Cylinder High Register [HEX]
        DH = Device/Head Register [HEX]
        DC = Device Command Register [HEX]
        ER = Error register [HEX]
        ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 0 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
  When the command that caused the error occurred, the device was in an unknown state.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  00 ec 00 00 00 00 00

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ec 00 00 00 00 00 00 00      00:00:00.000  IDENTIFY DEVICE
  ec 00 00 00 00 00 00 00      00:00:00.000  IDENTIFY DEVICE
  ec 00 00 00 00 00 00 00      00:00:00.000  IDENTIFY DEVICE
  ec 00 00 00 00 00 00 00      00:00:00.000  IDENTIFY DEVICE
  c8 00 00 00 00 00 00 00      00:00:00.000  READ DMA

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%       160         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

The drive is barely two weeks old yet the short offline error report talks about 0 days/hours. Also the "device state unknown" seems that there is a compatibility issue.

Note: See TracTickets for help on using tickets.