Menu

#412 SMART plugin fails for older drives without SMART logging

precision
closed-fixed
nobody
Code (200)
5
2015-05-10
2012-11-27
Cliff
No

I have an old Quantum Fireball EX10.2A, it does not support SMART logging. The portion of the code responsible for parsing the smartctl output however, assumes the line 'SMART Error Log Version' exists. In this particular drive's case, that line is replaced with 'SMART Error Log not supported'. I was able to work around this using the change in the patch in the pastebin link below. I've attached the drive output if you would like to test against it. My config line for this drive's output is:

define('PSI_PLUGIN_SMART_IDS', '5-RAW_VALUE,4-RAW_VALUE,9-RAW_VALUE,12-RAW_VALUE,1-RAW_VALUE,7-RAW_VALUE,199-RAW_VALUE,3-RAW_VALUE,11-RAW_VALUE,13-RAW_VALUE');

Suggested patch at: http://pastebin.com/pe78FL0S

Discussion

  • Cliff

    Cliff - 2012-11-27

    SMART output for the EX10.2A

     
  • Mieczysław Nalewaj

    • status: open-fixed --> closed-fixed
    • Group: --> precision
     
MongoDB Logo MongoDB