<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Jun 11, 2025 at 11:48 AM Sergey Ivanov <<a href="mailto:icegood1980@gmail.com">icegood1980@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello there. <br><br>I wonder how smartmontools could return next two reports for the very same device:<br></div></div></blockquote><div><br></div><div>It looks like although the same version of smartctl/smartmontools is installed, the drivedb differs. On OpenWRT this file is maybe outdated.</div><div>The package on Ubuntu likely contains an updated drivedb file.</div><div>You can manually update the drivedb file. Here's how to do this on Debian:  </div><div><a href="https://www.claudiokuenzler.com/blog/1013/how-to-update-smartmontools-drivedb-debian-stretch">https://www.claudiokuenzler.com/blog/1013/how-to-update-smartmontools-drivedb-debian-stretch</a></div><div><br></div><div>The paths in OpenWRT are most likely different. You need to find the specific path where the drivedb is located.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div>What data should I trust? I'm interest in calculating of TWB but i don't know if is it</div><div>Total_LBAs_Written or  Host_Writes_32MiB? Not sure what multiplicator should be (32Mb or sector=512b)?</div></div></blockquote><div><br></div><div>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.</div><div>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).</div><div><br></div></div></div>