0 Replies Latest reply on Oct 5, 2011 9:22 AM by dboreham

    smartmontools patch for 710

    dboreham

      In case anyone else here needs this, I succeeded in patching smartmontools 5.41 to read the 710 series smart counters.

      They're basically the same as the 320 so the patch essentially involves copying the 320 definition and changing the device id.

      Since I only have 100G drives, I may not have the device ID correct for all sizes (guessed that they were the same except for the size).

       

      diff -ru ../smartmontools-5.41.orig/drivedb.h ./drivedb.h
      --- ../smartmontools-5.41.orig/drivedb.h        2011-06-08 15:26:23.000000000 -0600
      +++ ./drivedb.h 2011-10-05 00:46:27.047939603 -0600
      @@ -273,6 +273,31 @@
           "-v 241,raw48,Host_Writes_32MiB "
           "-v 242,raw48,Host_Reads_32MiB"
         },
      +{ "Intel 710 Series SSDs",
      +    "INTEL SSDSA2BZ(100|200|300)G3",
      +    "", "",
      +  //"-v 3,raw48,Spin_Up_Time "
      +  //"-v 4,raw48,Start_Stop_Count "
      +  //"-v 5,raw48,Reallocated_Sector_Ct "
      +  //"-v 9,raw48,Power_On_Hours "
      +  //"-v 12,raw48,Power_Cycle_Count "
      +    "-v 170,raw48,Reserve_Block_Count "
      +    "-v 171,raw48,Program_Fail_Count "
      +    "-v 172,raw48,Erase_Fail_Count "
      +    "-v 183,raw48,SATA_Downshift_Count "
      +  //"-v 184,raw48,End-to-End_Error "
      +  //"-v 187,raw48,Reported_Uncorrect "
      +  //"-v 190,raw48,Airflow_Temperature_Cel "
      +    "-v 192,raw48,Unsafe_Shutdown_Count "
      +    "-v 225,raw48,Host_Writes_32MiB "
      +    "-v 226,raw48,Workld_Media_Wear_Indic " // Timed Workload Media Wear Indicator (percent*1024)
      +    "-v 227,raw48,Workld_Host_Reads_Perc "  // Timed Workload Host Reads Percentage
      +    "-v 228,raw48,Workload_Minutes " // 226,227,228 can be reset by 'smartctl -t vendor,0x40'
      +  //"-v 232,raw48,Available_Reservd_Space "
      +  //"-v 233,raw48,Media_Wearout_Indicator "
      +    "-v 241,raw48,Host_Writes_32MiB "
      +    "-v 242,raw48,Host_Reads_32MiB"
      +  },
         { "Intel 510 Series SSDs",
           "INTEL SSDSC2MH(120|250)A2",
           "", "",