From 516da019ceadcac47d7f7cf2e6ffae36db45744d Mon Sep 17 00:00:00 2001
From: dipohl <dipohl@4ea69e1a-61f1-4043-bf83-b5c94c648137>
Date: Fri, 22 Apr 2022 12:13:14 +0000
Subject: [PATCH] drivedb.h: Seagate IronWolf 125 SSDs (#1584) (GH pull/131)
 Patch provided by Felix Buehl.

git-svn-id: https://svn.code.sf.net/p/smartmontools/code/trunk@5351 4ea69e1a-61f1-4043-bf83-b5c94c648137
---
 smartmontools/ChangeLog |  5 +++++
 smartmontools/drivedb.h | 25 +++++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/smartmontools/ChangeLog b/smartmontools/ChangeLog
index f2e33efb3..ab1619178 100644
--- a/smartmontools/ChangeLog
+++ b/smartmontools/ChangeLog
@@ -1,5 +1,10 @@
 $Id$
 
+2022-04-22  Felix Buehl <felix.buehl@febit.systems>
+
+	drivedb.h:
+	- Seagate IronWolf 125 SSDs (#1584) (GH pull/131)
+
 2022-04-17  Gabriele Pohl  <contact@dipohl.de>
 
 	drivedb.h:
diff --git a/smartmontools/drivedb.h b/smartmontools/drivedb.h
index 6d8e9ee00..d60fa7b77 100644
--- a/smartmontools/drivedb.h
+++ b/smartmontools/drivedb.h
@@ -4562,6 +4562,31 @@ const drive_settings builtin_knowndrives[] = {
     "-v 246,hex64,Write_Protect_Detail " // prevents interpretation of bogus threshold 255 (ticket #1396)
     "-v 247,raw48,Health_Check_Timer "
   },
+  { "Seagate IronWolf 125 SSDs", // IronWolf_125_SSD_Product_Manual_100866980_C.pdf
+    "Seagate IronWolf ZA(250|500|1000|2000|4000)NM10002-.*", // tested with
+      // Seagate IronWolf ZA500NM10002-2ZG101/SU3SC013
+    "", "",
+  //"-v 1,raw48,Raw_Read_Error_Rate "
+  //"-v 9,raw24(raw8),Power_On_Hours "
+  //"-v 12,raw48,Power_Cycle_Count "
+    "-v 16,raw48,Spare_Blocks_Available "
+    "-v 17,raw48,Spare_Blocks_Remaining "
+    "-v 168,raw48,SATA_PHY_Error_Count "
+    "-v 170,raw16,Early/Later_Bad_Blck_Ct "
+    "-v 173,raw16,Max/Avg/Min_Erase_Ct "
+    "-v 174,raw48,Unexpect_Power_Loss_Ct "
+    "-v 177,raw16,Wear_Range_Delta "
+  //"-v 192,raw48,Power-Off_Retract_Count "
+  //"-v 194,tempminmax,Temperature_Celsius "
+    "-v 218,raw48,SATA_CRC_Error_Count "
+    "-v 231,raw48,SSD_Life_Left "
+    "-v 232,hex48,Read_Failure_Blk_Ct "
+    "-v 233,raw48,Flash_Writes_GiB "
+    "-v 234,raw48,NAND_Reads_Sectors "
+    "-v 235,raw48,Flash_Writes_Sectors "
+    "-v 241,raw48,Host_Writes_GiB "
+    "-v 242,raw48,Host_Reads_GiB "
+  },
   { "Seagate Nytro SATA SSD", //Written to Seagate documentation
     // tested with XA960LE10063, XA960LE10063
     "XA(240|480|960|1920|3840)[LM]E10(00|02|04|06|08|10)3",
-- 
GitLab