<div dir="ltr"><div>Hello there. <br><br>I wonder how smartmontools could return next two reports for the very same device:<br><br>=== START OF INFORMATION SECTION ===<br>Device Model:     TS256GSSD360S<br>Serial Number:    04306186D15138020046<br>LU WWN Device Id: 0 000000 000000000<br>Firmware Version: P0226A<br>User Capacity:    256,060,514,304 bytes [256 GB]<br>Sector Size:      512 bytes logical/physical<br>Rotation Rate:    Solid State Device<br>Form Factor:      2.5 inches<br>TRIM Command:     Available<br>Device is:        Not in smartctl database<br>ATA Version is:   ACS-2 (minor revision not indicated)<br>SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)<br>Local Time is:    Sat Jun  7 11:21:43 2025 EEST<br>SMART support is: Available - device has SMART capability.<br>SMART support is: Enabled<br><br><br>under ubuntu and openwrt. <br><br>1) <b>Under Ubuntu 25.04:</b><br><br>smartctl -A /dev/sda<br><b>smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.14.0-15-generic] (local build)</b><br>Copyright (C) 2002-23, Bruce Allen, Christian Franke, <a href="http://www.smartmontools.org">www.smartmontools.org</a><br><br>Warning! Drive Identity Structure error: invalid SMART checksum.<br>=== START OF READ SMART DATA SECTION ===<br>SMART Attributes Data Structure revision number: 1<br>Vendor Specific SMART Attributes with Thresholds:<br>=== START OF SMART DATA SECTION ===<br>  1 Raw_Read_Error_Rate     0x0000   100   100   050    Old_age   Offline      -       0<br>  5 Reallocated_Sector_Ct   0x0002   100   100   050    Old_age   Always       -       0<br>  9 Power_On_Hours          0x0000   100   100   050    Old_age   Offline      -       197<br> 12 Power_Cycle_Count       0x0000   100   100   050    Old_age   Offline      -       10011<br>160 Uncorrectable_Error_Cnt 0x0000   100   100   050    Old_age   Offline      -       0<br>161 Valid_Spare_Block_Cnt   0x0000   100   100   050    Old_age   Offline      -       158<br>162 Cache_Block_Count       0x0000   100   100   050    Old_age   Offline      -       1<br>163 Initial_Bad_Block_Count 0x0000   100   100   050    Old_age   Offline      -       32<br>164 Total_Erase_Count       0x0000   100   100   050    Old_age   Offline      -       436474<br>165 Max_Erase_Count         0x0000   100   100   050    Old_age   Offline      -       236<br>166 Min_Erase_Count         0x0000   100   100   050    Old_age   Offline      -       184<br>167 Average_Erase_Count     0x0000   100   100   050    Old_age   Offline      -       210<br>168 Max_Erase_Count_of_Spec 0x0000   100   100   050    Old_age   Offline      -       3000<br>192 Power-Off_Retract_Count 0x0000   100   100   050    Old_age   Offline      -       5239<br>194 Temperature_Celsius     0x0000   100   100   050    Old_age   Offline      -       37<br>195 Hardware_ECC_Recovered  0x0000   100   100   050    Old_age   Offline      -       107696<br>196 Reallocated_Event_Count 0x0000   100   100   050    Old_age   Offline      -       0<br>199 UDMA_CRC_Error_Count    0x0000   100   100   050    Old_age   Offline      -       451<br>241 Host_Writes_32MiB       0x0000   100   100   050    Old_age   Offline      -       299715<br>242 Host_Reads_32MiB        0x0000   100   100   050    Old_age   Offline      -       632526<br>245 TLC_Writes_32MiB        0x0000   100   100   050    Old_age   Offline      -       1044238</div><div><br></div><div>more or less clear <br><br>2) under <br><br>DISTRIB_ID='OpenWrt'<br>DISTRIB_RELEASE='24.10.1'<br>DISTRIB_REVISION='r28597-0425664679'<br>DISTRIB_TARGET='x86/64'<br>DISTRIB_ARCH='x86_64'<br>DISTRIB_DESCRIPTION='OpenWrt 24.10.1 r28597-0425664679'<br>DISTRIB_TAINTS=''</div><div><br></div><div>I obtained:<br><br>smartctl -A /dev/sda<br><b>smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.6.86] (localbuild)</b><br>Copyright (C) 2002-23, Bruce Allen, Christian Franke, <a href="http://www.smartmontools.org">www.smartmontools.org</a><br><br>=== START OF READ SMART DATA SECTION ===<br>SMART Attributes Data Structure revision number: 1<br>Vendor Specific SMART Attributes with Thresholds:<br>ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE<br>  1 Raw_Read_Error_Rate     0x0000   100   100   050    Old_age   Offline      -       0<br>  5 Reallocated_Sector_Ct   0x0002   100   100   050    Old_age   Always       -       0<br>  9 Power_On_Hours          0x0000   100   100   050    Old_age   Offline      -       197<br> 12 Power_Cycle_Count       0x0000   100   100   050    Old_age   Offline      -       10012<br>160 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       0<br>161 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       158<br>162 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       1<br>163 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       32<br>164 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       436715<br>165 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       237<br>166 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       184<br>167 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       210<br>168 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       3000<br>192 Power-Off_Retract_Count 0x0000   100   100   050    Old_age   Offline      -       5240<br>194 Temperature_Celsius     0x0000   100   100   050    Old_age   Offline      -       30<br>195 Hardware_ECC_Recovered  0x0000   100   100   050    Old_age   Offline      -       107708<br>196 Reallocated_Event_Count 0x0000   100   100   050    Old_age   Offline      -       0<br>199 UDMA_CRC_Error_Count    0x0000   100   100   050    Old_age   Offline      -       451<br>241 Total_LBAs_Written      0x0000   100   100   050    Old_age   Offline      -       299716<br>242 Total_LBAs_Read         0x0000   100   100   050    Old_age   Offline      -       632542<br>245 Unknown_Attribute       0x0000   100   100   050    Old_age   Offline      -       1045112</div><div><br></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><br></div><div>How it comes that the very same version number present?</div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Kind regards,<br>Sergey Ivanov</div></div>