Opened 4 months ago
Closed 2 months ago
#1855 closed defect (fixed)
missing -v188 and -v240 options for Seagate Barracuda 7200.12 ST31000524AS
Reported by: | Nathan Stratton Treadway | Owned by: | Christian Franke |
---|---|---|---|
Priority: | minor | Milestone: | Release 7.5 |
Component: | drivedb | Version: | |
Keywords: | hdd | Cc: |
Description
r3402 added the Seagate ST31000524AS drive to an existing "Seagate Barracuda 7200.12" drivedb.h entry which has an empty Presets field, and this entry still lists no Presets in the current version of the database:
# smartctl -d sat -P show /dev/sdb smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.0-113-generic] (local build) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org Drive found in smartmontools Database. Drive identity strings: MODEL: ST31000524AS FIRMWARE: JC45 match smartmontools Drive Database entry: MODEL REGEXP: ST3(160318|25031[128]|320418|50041[038]|750(518|52[358])|100052[348]|320413|160316)AS FIRMWARE REGEXP: .* MODEL FAMILY: Seagate Barracuda 7200.12 ATTRIBUTE OPTIONS: None preset; no -v options are required.
However, testing shows the drive's data actually matches the "-v 188,raw16 -v 240,msec24hour32" formatting that appear in the database for many other Seagate drive families:
# smartctl -d sat -A /dev/sdb | grep "^188 \|^240"; echo; smartctl -d sat -v 188,raw16 -v 240,msec24hour32 -A /dev/sdb | grep "^188 \|^240" 188 Command_Timeout 0x0032 100 099 000 Old_age Always - 4295032833 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 89367 (98 226 0) 188 Command_Timeout 0x0032 100 099 000 Old_age Always - 1 1 1 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 89367h+06m+58.622s
Change History (5)
comment:1 by , 4 months ago
comment:2 by , 4 months ago
In my research I found various old posts out on the internet confirming these findings:
https://www.truenas.com/community/threads/smart-errors-can-i-recover-my-data.35360/post-214505
[root@freenas] /dev# smartctl -a /dev/ada1 smartctl 6.3 2014-07-26 r3976 [FreeBSD 9.3-RELEASE-p13 amd64] (local build) Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.12 Device Model: ST31000524AS Serial Number: xx LU WWN Device Id: 5 000c50 02a2a288e Firmware Version: JC4B [...] 188 Command_Timeout 0x0032 100 099 000 Old_age Always - 25770196998 [...] 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 19823 (67 148 0)
, where 25770196998 = 0x600060006
https://forums.linuxmint.com/viewtopic.php?p=1174006&sid=456e216470a99a03141fba0f27121d6c#p1174006
mint@mint ~ $ sudo smartctl -iHA --log=error /dev/sdb smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.19.0-32-generic] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, http://www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.12 Device Model: ST31000524AS [...] Firmware Version: JC4B [...] 188 Command_Timeout 0x0032 100 093 000 Old_age Always - 65905 [...] 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 125589138719611 [...]
where 65905 = 0x10171 and 125589138719611 = 0x72390000437b
https://community.ovh.com/t/dev-sda1-passe-en-read-only/13704/3
smartctl -a /dev/sda1 smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.148-xxxx-std-ipv6-64] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.12 Device Model: ST31000524AS [...] Firmware Version: JC45 [...] 188 Command_Timeout 0x0032 100 098 000 Old_age Always - 115966017574 [...] 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 67661 (43 124 0) [...]
where 115966017574 = 0x1b001d0026
Same is true for at least a few other models that match this entry, e.g.
https://sourceforge.net/p/smartmontools/mailman/message/27726938/
# smartctl -x /dev/sda smartctl 5.42 2011-06-09 r3367M [x86_64-linux-2.6.18-238.12.1.el5] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Device Model: ST3250312AS [...] Firmware Version: JC45 [...] 188 Command_Timeout -O--CK 100 099 000 - 4295032844 [...] 240 Head_Flying_Hours ------ 100 253 000 - 95859375079729 [...]
where 4295032844 = 0x10001000c and 95859375079729 = 0x572f00000131
https://bsd-hardware.info/?probe=eb81abe401&log=smartctl
/dev/ada0 smartctl 7.2 2020-12-30 r5155 [FreeBSD 13.0-RELEASE amd64] (local build) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.12 Device Model: ST3500413AS [...] Firmware Version: JC47 [...] 188 Command_Timeout -O--CK 100 098 000 - 115965952114 [...] 240 Head_Flying_Hours ------ 100 253 000 - 25683 (27 230 0) [...]
where 115965952114 = 0x1b001c0072
comment:4 by , 2 months ago
Owner: | set to |
---|---|
Status: | new → accepted |
(A couple days ago I was running a test to make sure the m+s components of the field were in fact counting seconds, and I happened to catch it roll over the hour as well:
)