id summary reporter owner description type status priority milestone component version resolution keywords cc 1225 Missed info for SAS SSD after update of smartmontools from 5.43 to 7.0 Andrey P. "Hello, I'm trying to get smart info from SAMSUNG MZILS3T8HMLH/007 SAS SSD drive. smartmontools 5.43 work properly: {{{ ~]# smartctl -a /dev/sda smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-042stab138.1] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net Vendor: SAMSUNG Product: MZILS3T8HMLH/007 Revision: GXL0 User Capacity: 3,840,755,982,336 bytes [3.84 TB] Logical block size: 512 bytes Logical Unit id: ... Serial number: ... Device type: disk Transport protocol: SAS Local Time is: ... Device supports SMART and is Enabled Temperature Warning Enabled SMART Health Status: OK SS Media used endurance indicator: 0% Current Drive Temperature: 33 C Drive Trip Temperature: 70 C Manufactured in week 19 of year 2017 Accumulated start-stop cycles: 26 Specified load-unload count over device lifetime: 0 Accumulated load-unload cycles: 0 Elements in grown defect list: 0 Error counter log: Errors Corrected by Total Correction Gigabytes Total ECC rereads/ errors algorithm processed uncorrected fast | delayed rewrites corrected invocations [10^9 bytes] errors read: 0 8 0 8 8 ... 0 write: 0 0 0 0 0 ... 0 Non-medium error count: 1 No self-tests have been logged Long (extended) Self Test duration: 3600 seconds [60.0 minutes] }}} smartmontools 7.0 don't work: {{{ ~]# smartctl -a /dev/sda smartctl 7.0 2019-05-21 r4916 [x86_64-linux-3.10.0-957.12.2.vz7.86.2] (local build) Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Vendor: SAMSUNG Product: MZILS3T8HMLH/007 Revision: GXL0 Compliance: SPC-4 User Capacity: 3,840,755,982,336 bytes [3.84 TB] Logical block size: 512 bytes Physical block size: 4096 bytes LU is resource provisioned, LBPRZ=1 Rotation Rate: Solid State Device Form Factor: 2.5 inches Logical Unit id: ... Serial number: ... Device type: disk Transport protocol: SAS (SPL-3) Local Time is: ... SMART support is: Available - device has SMART capability. SMART support is: Enabled Temperature Warning: Enabled === START OF READ SMART DATA SECTION === SMART Health Status: OK Current Drive Temperature: 0 C Drive Trip Temperature: 0 C Elements in grown defect list: 0 Error Counter logging not supported Device does not support Self Test logging }}} Particularly, I need missed ""SS Media used endurance indicator"" to be reported by smartmontools 7.0. By investigating the smartmontools code, I've found that this is printed by scsiPrintSSMedia function, but now (in 7.0) it is called only if is_disk==true: {{{ is_disk = ((SCSI_PT_DIRECT_ACCESS == peripheral_type) || (SCSI_PT_HOST_MANAGED == peripheral_type)); }}} Is it possible that is_disk==false for such drive? How to workaround this? Thanks." defect closed major Release 7.1 smartctl 7.0 fixed scsi