[smartmontools-support] Serial number mismatch

Christian Franke Christian.Franke at t-online.de
Fri Jan 17 17:23:52 CET 2025


Hi Janos,

Janos Dohanics wrote:
> On Fri, 17 Jan 2025 10:15:16 +0100
> Christian Franke <Christian.Franke at t-online.de> wrote:
>
>> Janos Dohanics wrote:
>>> Hello List,
>>>
>>> I have a 1TB TEAM CX2 2.5" SSD.
>>>
>>> The SSD label shows:
>>> S/N: 1F2312060140311
>>>
>>> However, smartctl(8) disagrees:
>>>
>>> # smartctl -x /dev/da0
>>> smartctl 7.4 2023-08-01 r5530 [FreeBSD 14.1-STABLE amd64] (local
>>> build) Copyright (C) 2002-23, Bruce Allen, Christian Franke,
>>> www.smartmontools.org
>>>
>>> === START OF INFORMATION SECTION ===
>>> Device Model:     TEAM T2531TB
>>> Serial Number:    TPBF2311070030504231
>>> [...]
>>>
>>> Would you please explain?
>> This question needs to be addressed to the device vendor.
>>
>> Smartctl simply prints the information reported by the ATA IDENTIFY
>> command.
>>
>> Please provide the output of
>>
>>     smartctl -r ioctl,2 -i /dev/da0
>>
>> as a plaintext attachment.
>>
>> Thanks,
>> Christian
> Hello Christian,
>
> Thank you for the quick reply. I have attached a file with the output
> you have requested.

REPORT-IOCTL: Device=/dev/da0 Command=IDENTIFY DEVICE
  Input:   FR=...., SC=0x01, LL=...., LM=...., LH=...., DEV=...., 
CMD=0xec IN
  ...
  [Duration: 0.001316s]
REPORT-IOCTL: Device=/dev/da0 Command=IDENTIFY DEVICE returned 0

===== [IDENTIFY DEVICE] DATA START (BASE-16) =====
000-015: 40 00 ff 3f 37 c8 10 00 00 00 00 00 3f 00 00 00 |@..?7.......?...|
016-031: 00 00 00 00 50 54 46 42 33 32 31 31 37 30 30 30 |....PTFB32117000|
032-047: 30 33 30 35 32 34 31 33 00 00 00 00 00 00 30 57 |03052413......0W|
...

The ATA IDENTIFY command returns "PTFB3211700003052413" in the serial 
number field. After byte swapping, this results in:

   Serial Number:    TPBF2311070030504231

Conclusion: smartctl prints the serial number as reported by the drive 
firmware.

The question why this differs from the printed label needs to be 
answered by the drive vendor :-)

-- 
Regards,
Christian



More information about the Smartmontools-support mailing list