scrutiny: [BUG]smartctl checksum errors

Hi,

i’m using the linuxserver.io docker image (latest tag) and currently am getting the following errors when running “scrutiny-collector-metrics run”

`root@abc9cc899866:/# scrutiny-collector-metrics run


/ ) / )( _ ( )( )( )( )( ( )( / ) _ ( ( ) / )()( )( )( ) ( \ / (/ _)()_)() () ()()_) (__) AnalogJ/scrutiny/metrics dev-0.1.13

INFO[0000] Verifying required tools type=metrics INFO[0000] Sending detected devices to API, for filtering & validation type=metrics INFO[0000] Main: Waiting for workers to finish type=metrics INFO[0000] Collecting smartctl results for sdd type=metrics INFO[0000] Collecting smartctl results for sda type=metrics INFO[0000] Collecting smartctl results for sdb type=metrics INFO[0000] Collecting smartctl results for sdc type=metrics { “json_format_version”: [ 1, 0 ], “smartctl”: { “version”: [ 7, 1 ], “svn_revision”: “5022”, “platform_info”: “x86_64-linux-4.14.24-qnap”, “build_info”: “(local build)”, “argv”: [ “smartctl”, “-a”, “-j”, “/dev/sda” ], “exit_status”: 4 }, “device”: { “name”: “/dev/sda”, “info_name”: “/dev/sda”, “type”: “scsi”, “protocol”: “SCSI” }, “vendor”: “WDC”, “product”: “WD100EMAZ-00WJTA”, “model_name”: “WDC WD100EMAZ-00WJTA”, “revision”: “83.H”, “scsi_version”: “SPC-3”, “user_capacity”: { “blocks”: 19532873728, “bytes”: 10000831348736 }, “logical_block_size”: 512, “physical_block_size”: 4096, “rotation_rate”: 5400, “form_factor”: { “scsi_value”: 2, “name”: “3.5 inches” }, “serial_number”: “2YJDN6SD”, “device_type”: { “scsi_value”: 0, “name”: “disk” }, “local_time”: { “time_t”: 1601292556, “asctime”: “Mon Sep 28 20:29:16 2020 KST” }, “temperature”: { “current”: 0, “drive_trip”: 0 } } ERRO[0000] smartctl returned an error code (4) while processing sda type=metrics ERRO[0000] smartctl detected a checksum error type=metrics INFO[0000] Publishing smartctl results for unknown type=metrics { “json_format_version”: [ 1, 0 ], “smartctl”: { “version”: [ 7, 1 ], “svn_revision”: “5022”, “platform_info”: “x86_64-linux-4.14.24-qnap”, “build_info”: “(local build)”, “argv”: [ “smartctl”, “-a”, “-j”, “/dev/sdb” ], “exit_status”: 4 }, “device”: { “name”: “/dev/sdb”, “info_name”: “/dev/sdb”, “type”: “scsi”, “protocol”: “SCSI” }, “vendor”: “WDC”, “product”: “WD100EMAZ-00WJTA”, “model_name”: “WDC WD100EMAZ-00WJTA”, “revision”: “83.H”, “scsi_version”: “SPC-3”, “user_capacity”: { “blocks”: 19532873728, “bytes”: 10000831348736 }, “logical_block_size”: 512, “physical_block_size”: 4096, “rotation_rate”: 5400, “form_factor”: { “scsi_value”: 2, “name”: “3.5 inches” }, “serial_number”: “2YJ8S5BD”, “device_type”: { “scsi_value”: 0, “name”: “disk” }, “local_time”: { “time_t”: 1601292556, “asctime”: “Mon Sep 28 20:29:16 2020 KST” }, “temperature”: { “current”: 0, “drive_trip”: 0 } } ERRO[0000] smartctl returned an error code (4) while processing sdb type=metrics ERRO[0000] smartctl detected a checksum error type=metrics INFO[0000] Publishing smartctl results for unknown type=metrics { “json_format_version”: [ 1, 0 ], “smartctl”: { “version”: [ 7, 1 ], “svn_revision”: “5022”, “platform_info”: “x86_64-linux-4.14.24-qnap”, “build_info”: “(local build)”, “argv”: [ “smartctl”, “-a”, “-j”, “/dev/sdd” ], “exit_status”: 4 }, “device”: { “name”: “/dev/sdd”, “info_name”: “/dev/sdd”, “type”: “scsi”, “protocol”: “SCSI” }, “vendor”: “WDC”, “product”: “WD100EMAZ-00WJTA”, “model_name”: “WDC WD100EMAZ-00WJTA”, “revision”: “83.H”, “scsi_version”: “SPC-3”, “user_capacity”: { “blocks”: 19532873728, “bytes”: 10000831348736 }, “logical_block_size”: 512, “physical_block_size”: 4096, “rotation_rate”: 5400, “form_factor”: { “scsi_value”: 2, “name”: “3.5 inches” }, “serial_number”: “2YJDUTKD”, “device_type”: { “scsi_value”: 0, “name”: “disk” }, “local_time”: { “time_t”: 1601292556, “asctime”: “Mon Sep 28 20:29:16 2020 KST” }, “temperature”: { “current”: 0, “drive_trip”: 0 } } ERRO[0000] smartctl returned an error code (4) while processing sdd type=metrics ERRO[0000] smartctl detected a checksum error type=metrics INFO[0000] Publishing smartctl results for unknown type=metrics { “json_format_version”: [ 1, 0 ], “smartctl”: { “version”: [ 7, 1 ], “svn_revision”: “5022”, “platform_info”: “x86_64-linux-4.14.24-qnap”, “build_info”: “(local build)”, “argv”: [ “smartctl”, “-a”, “-j”, “/dev/sdc” ], “exit_status”: 4 }, “device”: { “name”: “/dev/sdc”, “info_name”: “/dev/sdc”, “type”: “scsi”, “protocol”: “SCSI” }, “vendor”: “WDC”, “product”: “WD100EMAZ-00WJTA”, “model_name”: “WDC WD100EMAZ-00WJTA”, “revision”: “83.H”, “scsi_version”: “SPC-3”, “user_capacity”: { “blocks”: 19532873728, “bytes”: 10000831348736 }, “logical_block_size”: 512, “physical_block_size”: 4096, “rotation_rate”: 5400, “form_factor”: { “scsi_value”: 2, “name”: “3.5 inches” }, “serial_number”: “JEHN4M1N”, “device_type”: { “scsi_value”: 0, “name”: “disk” }, “local_time”: { “time_t”: 1601292556, “asctime”: “Mon Sep 28 20:29:16 2020 KST” }, “temperature”: { “current”: 0, “drive_trip”: 0 } } ERRO[0000] smartctl returned an error code (4) while processing sdc type=metrics ERRO[0000] smartctl detected a checksum error type=metrics INFO[0000] Publishing smartctl results for unknown type=metrics INFO[0001] Main: Completed type=metrics root@abc9cc899866:/# `

After running, I can only see /dev/sda in the web UI and it has no details (SMART reports as failed).

I’m running this on a QNAP TS453Be.

Thanks,

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 26 (12 by maintainers)

Most upvoted comments

Sorry for necroposting, but I have the exact same issue, been reading this issue, and also looked elsewhere to try to solve it. My sitation is that the logs show

ERRO[0049] smartctl returned an error code (4) while processing sdb  type=metrics
ERRO[0049] smartctl detected a checksum error            type=metrics
INFO[0049] Publishing smartctl results for 0x55cdredacted  type=metrics
INFO[0049] Collecting smartctl results for sdc           type=metrics
INFO[0049] Executing command: smartctl --xall --json --device sat /dev/sdc  type=metrics
INFO[0049] Publishing smartctl results for 0x5000redacted  type=metrics

But it looks totally fine in Scrutiny GUI. Running smartctl manually doesn’t show any error either.

Any advice?