[smartmontools-support] scsiReadDefect12 in scsicmds.cpp is causing Non-medium error count to increase by 1
Oktay Kilic
info at oktaykilic.com
Wed May 6 18:44:34 CEST 2020
I have a few Toshiba PX04SVB320 SAS SSDs and whenever I try to read
their SMART data, the "Non-medium error count" value increments by 1.
I've found some other users are having the same problem with different
SAS SSDs.
It seems the error is caused by the scsiReadDefect12 function.
When I patch the function by simply returning 101 without doing
anything, the value stays the same. Of course this means smartctl is not
really querying the SSD.
The issue happens with a RAID card or with a HBA card, both LSI made.
When I issue the "smartctl -a" command on one of these SSDs, the LSI
firmware also reports this error:
seqNum: 0x00001380
Time: Wed May 6 11:33:40 2020
Code: 0x00000071
Class: 0
Locale: 0x02
Event Description: Unexpected sense: PD 00(e0x20/s0) Path
500003970c88f3ba, CDB: b7 0c 00 00 00 00 00 00 00 08 00 00, Sense: 1/1c/00
Event Data:
===========
Device ID: 0
Enclosure Index: 32
Slot Number: 0
CDB Length: 12
CDB Data:
00b7 000c 0000 0000 0000 0000 0000 0000 0000 0008 0000 0000 0000 0000
0000 0000 Sense Length: 40
Sense Data:
0072 0001 001c 0000 0000 0000 0000 0020 0080 001e 0000 00b7 0001 0006
0004 0000 0000 0000 0000 0000 0000 0000 0077 0000 0000 001d 0032 001c
0019 0000 0000 0000 0000 0000 0015 0005 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000 Success in AdpEventLog
--
Oktay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listi.jpberlin.de/pipermail/smartmontools-support/attachments/20200506/e6684c3d/attachment.html>
More information about the Smartmontools-support
mailing list