[smartmontools-support] same version under different distros has different output.
Christian Franke
Christian.Franke at t-online.de
Wed Jun 11 13:10:29 CEST 2025
Hello,
Sergey Ivanov wrote:
> Hello there.
>
> I wonder how smartmontools could return next two reports for the very
> same device:
>
Please compare the full outputs.
> === START OF INFORMATION SECTION ===
> Device Model: TS256GSSD360S
> ...
> Device is: Not in smartctl database
In particular compare the above line and search for a "Model Family" line.
> ...
>
> 1) *Under Ubuntu 25.04:*
>
> smartctl -A /dev/sda
> *smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.14.0-15-generic] (local
> build)*
> Copyright (C) 2002-23, Bruce Allen, Christian Franke,
> www.smartmontools.org <http://www.smartmontools.org>
>
> Warning! Drive Identity Structure error: invalid SMART checksum.
Something unknown is wrong here (Firmware bug?)
> ...
> 160 Uncorrectable_Error_Cnt 0x0000 100 100 050 Old_age
> Offline - 0
Device is likely matched by database entry "Silicon Motion based SSDs"
which should appear as "Model Family"
> ...
>
> 2) under
>
> DISTRIB_ID='OpenWrt'
> ...
>
> 160 Unknown_Attribute 0x0000 100 100 050 Old_age
> Offline - 0
Device not matched by any database entry.
Conclusion: Please update the drive database on OpenWrt.
> ...
> 242 Total_LBAs_Read 0x0000 100 100 050 Old_age
> Offline - 632542
> 245 Unknown_Attribute 0x0000 100 100 050 Old_age
> Offline - 1045112
>
> What data should I trust? I'm interest in calculating of TWB but i
> don't know if is it
> Total_LBAs_Written or Host_Writes_32MiB? Not sure what multiplicator
> should be (32Mb or sector=512b)?
The latter may be more reliable but may even differ between firmware
versions.
Please note that smartctl -a prints:
"The above only provides legacy SMART information - try 'smartctl -x'
for more"
Use smartctl -x instead and check the values of "Device Statistics" if
supported because it is vendor independent and does not rely on drive
database.
--
Regards,
Christian
More information about the Smartmontools-support
mailing list