[smartmontools-support] same version under different distros has different output.
Claudio Kuenzler
napsty at gmail.com
Wed Jun 11 12:52:15 CEST 2025
On Wed, Jun 11, 2025 at 11:48 AM Sergey Ivanov <icegood1980 at gmail.com>
wrote:
> Hello there.
>
> I wonder how smartmontools could return next two reports for the very same
> device:
>
It looks like although the same version of smartctl/smartmontools is
installed, the drivedb differs. On OpenWRT this file is maybe outdated.
The package on Ubuntu likely contains an updated drivedb file.
You can manually update the drivedb file. Here's how to do this on Debian:
https://www.claudiokuenzler.com/blog/1013/how-to-update-smartmontools-drivedb-debian-stretch
The paths in OpenWRT are most likely different. You need to find the
specific path where the drivedb is located.
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)?
>
Basically use the value of attribute 241, multiply by 512 (for most
drives). See sector size in the head section of the smartctl output. In
your case this is 512, too.
Note that on some drives the attribute 241 is renamed to Host_Writes_GiB or
similar. In this case smartctl already did the calculation for you (if I'm
not mistaken).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listi.jpberlin.de/pipermail/smartmontools-support/attachments/20250611/d5f133d4/attachment.htm>
More information about the Smartmontools-support
mailing list