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