We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
ERRO[0003] smartctl returned an error code (4) while processing sdc type=metrics ERRO[0003] smartctl detected a checksum error type=metrics
Log Files
# version specifies the version of this configuration file schema, not # the scrutiny binary. There is only 1 version available at the moment version: 1 host: id: "" devices: - device: /dev/sda type: scsi - device: /dev/sdb type: scsi - device: /dev/sdc type: scsi - device: /dev/sdd type: scsi - device: /dev/sde type: scsi - device: /dev/nvme0 type: nvme ignore: true - device: /dev/nvme1 type: nvme - device: /dev/nvme2 type: nvme - device: /dev/nvme3 type: nvme - device: /dev/nvme4 type: nvme
root@TrueNAS[/mnt/runtime/database/scrutiny/bin]# ./scrutiny-collector-metrics-linux-amd64 run --config collector.yaml 2024/09/30 14:16:23 No configuration file found at /opt/scrutiny/config/collector.yaml. Using Defaults. ___ ___ ____ __ __ ____ ____ _ _ _ _ / __) / __)( _ \( )( )(_ _)(_ _)( \( )( \/ ) \__ \( (__ ) / )(__)( )( _)(_ ) ( \ / (___/ \___)(_)\_)(______) (__) (____)(_)\_) (__) AnalogJ/scrutiny/metrics linux.amd64-0.8.1 2024/09/30 14:16:23 Loading configuration file: /mnt/runtime/database/scrutiny/bin/collector.yaml INFO[0000] Verifying required tools type=metrics INFO[0000] Executing command: smartctl --scan --json type=metrics INFO[0000] Executing command: smartctl --info --json /dev/sda type=metrics INFO[0000] Using WWN Fallback type=metrics INFO[0000] Executing command: smartctl --info --json /dev/sdc type=metrics INFO[0000] Using WWN Fallback type=metrics INFO[0000] Executing command: smartctl --info --json /dev/sdd type=metrics INFO[0000] Using WWN Fallback type=metrics INFO[0000] Executing command: smartctl --info --json --device nvme /dev/nvme1 type=metrics INFO[0000] Using WWN Fallback type=metrics INFO[0000] Executing command: smartctl --info --json --device nvme /dev/nvme3 type=metrics INFO[0000] Using WWN Fallback type=metrics INFO[0000] Executing command: smartctl --info --json /dev/sdb type=metrics INFO[0000] Using WWN Fallback type=metrics INFO[0000] Executing command: smartctl --info --json /dev/sde type=metrics INFO[0000] Using WWN Fallback type=metrics INFO[0000] Executing command: smartctl --info --json --device nvme /dev/nvme2 type=metrics INFO[0000] Using WWN Fallback type=metrics INFO[0000] Executing command: smartctl --info --json --device nvme /dev/nvme4 type=metrics INFO[0000] Using WWN Fallback type=metrics INFO[0001] Sending detected devices to API, for filtering & validation type=metrics INFO[0001] Collecting smartctl results for sda type=metrics INFO[0001] Executing command: smartctl --xall --json /dev/sda type=metrics ERRO[0002] smartctl returned an error code (4) while processing sda type=metrics ERRO[0002] smartctl detected a checksum error type=metrics INFO[0002] Publishing smartctl results for 0x5000c500da280acf type=metrics INFO[0002] Collecting smartctl results for sdc type=metrics INFO[0002] Executing command: smartctl --xall --json /dev/sdc type=metrics ERRO[0003] smartctl returned an error code (4) while processing sdc type=metrics ERRO[0003] smartctl detected a checksum error type=metrics INFO[0003] Publishing smartctl results for 0x5000c500dab01e4f type=metrics INFO[0003] Collecting smartctl results for sdd type=metrics INFO[0003] Executing command: smartctl --xall --json /dev/sdd type=metrics ERRO[0003] smartctl returned an error code (4) while processing sdd type=metrics ERRO[0003] smartctl detected a checksum error type=metrics INFO[0003] Publishing smartctl results for 0x5000039ce85a5ca9 type=metrics INFO[0003] Collecting smartctl results for nvme1 type=metrics INFO[0003] Executing command: smartctl --xall --json --device nvme /dev/nvme1 type=metrics INFO[0003] Publishing smartctl results for syc1n025215502237 type=metrics INFO[0003] Collecting smartctl results for nvme3 type=metrics INFO[0003] Executing command: smartctl --xall --json --device nvme /dev/nvme3 type=metrics INFO[0003] Publishing smartctl results for s5jxng0n101328w type=metrics INFO[0003] Collecting smartctl results for sdb type=metrics INFO[0003] Executing command: smartctl --xall --json /dev/sdb type=metrics ERRO[0004] smartctl returned an error code (4) while processing sdb type=metrics ERRO[0004] smartctl detected a checksum error type=metrics INFO[0004] Publishing smartctl results for 0x5000c500da280bcb type=metrics INFO[0004] Collecting smartctl results for sde type=metrics INFO[0004] Executing command: smartctl --xall --json /dev/sde type=metrics ERRO[0004] smartctl returned an error code (4) while processing sde type=metrics ERRO[0004] smartctl detected a checksum error type=metrics INFO[0004] Publishing smartctl results for 0x5000039ce85a59b5 type=metrics INFO[0004] Collecting smartctl results for nvme2 type=metrics INFO[0004] Executing command: smartctl --xall --json --device nvme /dev/nvme2 type=metrics INFO[0004] Publishing smartctl results for phbt9403006l016n type=metrics INFO[0004] Collecting smartctl results for nvme4 type=metrics INFO[0004] Executing command: smartctl --xall --json --device nvme /dev/nvme4 type=metrics INFO[0004] Publishing smartctl results for phbt940102ja016n type=metrics INFO[0004] Main: Completed type=metrics
$ smartctl --xall --json /dev/sda { "json_format_version": [ 1, 0 ], "smartctl": { "version": [ 7, 4 ], "pre_release": false, "svn_revision": "5530", "platform_info": "x86_64-linux-6.6.32-production+truenas", "build_info": "(local build)", "argv": [ "smartctl", "--xall", "--json", "/dev/sda" ], "exit_status": 4 }, "local_time": { "time_t": 1727676928, "asctime": "Mon Sep 30 14:15:28 2024 CST" }, "device": { "name": "/dev/sda", "info_name": "/dev/sda", "type": "scsi", "protocol": "SCSI" }, "scsi_vendor": "SEAGATE", "scsi_product": "ST20000NM002D", "scsi_model_name": "SEAGATE ST20000NM002D", "scsi_revision": "E001", "scsi_version": "SPC-5", "user_capacity": { "blocks": 39063650304, "bytes": 20000588955648 }, "logical_block_size": 512, "physical_block_size": 4096, "scsi_lb_provisioning": { "name": "fully provisioned", "value": 0, "management_enabled": { "name": "LBPME", "value": 0 }, "read_zeros": { "name": "LBPRZ", "value": 0 } }, "rotation_rate": 7200, "form_factor": { "scsi_value": 2, "name": "3.5 inches" }, "logical_unit_id": "0x5000c500da280acf", "serial_number": "ZVT61A060000C308C6K6", "device_type": { "scsi_terminology": "Peripheral Device Type [PDT]", "scsi_value": 0, "name": "disk" }, "scsi_transport_protocol": { "name": "SAS (SPL-4)", "value": 6 }, "smart_support": { "available": true, "enabled": true }, "temperature_warning": { "enabled": true }, "smart_status": { "passed": true }, "scsi_environmental_reports": { "temperature_1": { "parameter_code": 0, "current": 42, "lifetime_maximum": 47, "lifetime_minimum": 24, "maximum_since_power_on": 45, "minimum_since_power_on": 26 }, "relative_humidity_1": { "parameter_code": 256, "current": 0, "lifetime_maximum": 0, "lifetime_minimum": 0, "maximum_since_power_on": 0, "minimum_since_power_on": 0 } }, "scsi_start_stop_cycle_counter": { "year_of_manufacture": "2022", "week_of_manufacture": "39", "specified_cycle_count_over_device_lifetime": 50000, "accumulated_start_stop_cycles": 184, "specified_load_unload_count_over_device_lifetime": 600000, "accumulated_load_unload_cycles": 3563 }, "scsi_grown_defect_list": 0, "power_on_time": { "hours": 4445, "minutes": 32 }, "seagate_farm_log": { "supported": true }, "scsi_error_counter_log": { "read": { "errors_corrected_by_eccfast": 0, "errors_corrected_by_eccdelayed": 0, "errors_corrected_by_rereads_rewrites": 0, "total_errors_corrected": 0, "correction_algorithm_invocations": 0, "gigabytes_processed": "14868.645", "total_uncorrected_errors": 0 }, "write": { "errors_corrected_by_eccfast": 0, "errors_corrected_by_eccdelayed": 0, "errors_corrected_by_rereads_rewrites": 0, "total_errors_corrected": 0, "correction_algorithm_invocations": 0, "gigabytes_processed": "993.760", "total_uncorrected_errors": 0 } }, "scsi_pending_defects": { "count": 0 }, "scsi_self_test_0": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 4408, "aka": "accumulated_power_on_hours" } }, "scsi_self_test_1": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 4240, "aka": "accumulated_power_on_hours" } }, "scsi_self_test_2": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 4072, "aka": "accumulated_power_on_hours" } }, "scsi_self_test_3": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 3904, "aka": "accumulated_power_on_hours" } }, "scsi_self_test_4": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 3737, "aka": "accumulated_power_on_hours" } }, "scsi_self_test_5": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 3573, "aka": "accumulated_power_on_hours" } }, "scsi_self_test_6": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 3411, "aka": "accumulated_power_on_hours" } }, "scsi_self_test_7": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 3245, "aka": "accumulated_power_on_hours" } }, "scsi_self_test_8": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 3076, "aka": "accumulated_power_on_hours" } }, "scsi_self_test_9": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 2913, "aka": "accumulated_power_on_hours" } }, "scsi_self_test_10": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 2744, "aka": "accumulated_power_on_hours" } }, "scsi_self_test_11": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 2621, "aka": "accumulated_power_on_hours" } }, "scsi_self_test_12": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 2400, "aka": "accumulated_power_on_hours" } }, "scsi_self_test_13": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 2390, "aka": "accumulated_power_on_hours" } }, "scsi_self_test_14": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 2242, "aka": "accumulated_power_on_hours" } }, "scsi_self_test_15": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 2074, "aka": "accumulated_power_on_hours" } }, "scsi_self_test_16": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 1907, "aka": "accumulated_power_on_hours" } }, "scsi_self_test_17": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 1739, "aka": "accumulated_power_on_hours" } }, "scsi_self_test_18": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 1576, "aka": "accumulated_power_on_hours" } }, "scsi_self_test_19": { "code": { "value": 1, "string": "Background short" }, "result": { "value": 0, "string": "Completed" }, "power_on_time": { "hours": 1409, "aka": "accumulated_power_on_hours" } }, "scsi_extended_self_test_seconds": 102480, "scsi_background_scan": { "status": { "value": 0, "string": "no scans active", "number_scans_performed": 0, "scan_progress": "0.00%", "number_medium_scans_performed": 0 } }, "scsi_sas_port_0": { "relative_target_port_id": 1, "generation_code": 0, "number_of_phys": 1, "phy_0": { "identifier": 0, "attached_device_type": "SAS or SATA device", "attached_reason": "power on", "reason": "power on", "negotiated_logical_link_rate": "phy enabled; 12 Gbps", "attached_initiator_port": { "ssp_stp_smp": "111" }, "attached_target_port": { "ssp_stp_smp": "000" }, "sas_address": "0x5000c500da280acd", "attached_sas_address": "0x500062b20be03fc8", "attached_phy_identifier": 8, "invalid_dword_count": 6, "running_disparity_error_count": 6, "loss_of_dword_synchronization_count": 0, "phy_reset_problem_count": 2 } }, "scsi_sas_port_1": { "relative_target_port_id": 2, "generation_code": 0, "number_of_phys": 1, "phy_0": { "identifier": 1, "attached_device_type": "no device attached", "attached_reason": "unknown", "reason": "unknown", "negotiated_logical_link_rate": "phy enabled; unknown", "attached_initiator_port": { "ssp_stp_smp": "000" }, "attached_target_port": { "ssp_stp_smp": "000" }, "sas_address": "0x5000c500da280ace", "attached_sas_address": "0x0", "attached_phy_identifier": 0, "invalid_dword_count": 0, "running_disparity_error_count": 0, "loss_of_dword_synchronization_count": 0, "phy_reset_problem_count": 0 } } }
time="2024-09-30T14:11:59+08:00" level=info msg="Verifying required tools" type=metrics time="2024-09-30T14:11:59+08:00" level=info msg="Executing command: smartctl --scan --json" type=metrics time="2024-09-30T14:11:59+08:00" level=info msg="Executing command: smartctl --info --json --device nvme /dev/nvme3" type=metrics time="2024-09-30T14:11:59+08:00" level=info msg="Using WWN Fallback" type=metrics time="2024-09-30T14:11:59+08:00" level=info msg="Executing command: smartctl --info --json --device nvme /dev/nvme4" type=metrics time="2024-09-30T14:11:59+08:00" level=info msg="Using WWN Fallback" type=metrics time="2024-09-30T14:12:00+08:00" level=info msg="Executing command: smartctl --info --json /dev/sda" type=metrics time="2024-09-30T14:12:00+08:00" level=info msg="Using WWN Fallback" type=metrics time="2024-09-30T14:12:00+08:00" level=info msg="Executing command: smartctl --info --json /dev/sdc" type=metrics time="2024-09-30T14:12:00+08:00" level=info msg="Using WWN Fallback" type=metrics time="2024-09-30T14:12:00+08:00" level=info msg="Executing command: smartctl --info --json /dev/sde" type=metrics time="2024-09-30T14:12:00+08:00" level=info msg="Using WWN Fallback" type=metrics time="2024-09-30T14:12:00+08:00" level=info msg="Executing command: smartctl --info --json /dev/sdb" type=metrics time="2024-09-30T14:12:00+08:00" level=info msg="Using WWN Fallback" type=metrics time="2024-09-30T14:12:00+08:00" level=info msg="Executing command: smartctl --info --json /dev/sdd" type=metrics time="2024-09-30T14:12:00+08:00" level=info msg="Using WWN Fallback" type=metrics time="2024-09-30T14:12:00+08:00" level=info msg="Executing command: smartctl --info --json --device nvme /dev/nvme1" type=metrics time="2024-09-30T14:12:00+08:00" level=info msg="Using WWN Fallback" type=metrics time="2024-09-30T14:12:01+08:00" level=info msg="Executing command: smartctl --info --json --device nvme /dev/nvme2" type=metrics time="2024-09-30T14:12:01+08:00" level=info msg="Using WWN Fallback" type=metrics time="2024-09-30T14:12:01+08:00" level=info msg="Sending detected devices to API, for filtering & validation" type=metrics time="2024-09-30T14:12:01+08:00" level=info msg="Collecting smartctl results for nvme3\n" type=metrics time="2024-09-30T14:12:01+08:00" level=info msg="Executing command: smartctl --xall --json --device nvme /dev/nvme3" type=metrics time="2024-09-30T14:12:01+08:00" level=info msg="Publishing smartctl results for s5jxng0n101328w\n" type=metrics time="2024-09-30T14:12:01+08:00" level=info msg="Collecting smartctl results for nvme4\n" type=metrics time="2024-09-30T14:12:01+08:00" level=info msg="Executing command: smartctl --xall --json --device nvme /dev/nvme4" type=metrics time="2024-09-30T14:12:01+08:00" level=info msg="Publishing smartctl results for phbt940102ja016n\n" type=metrics time="2024-09-30T14:12:01+08:00" level=info msg="Collecting smartctl results for sda\n" type=metrics time="2024-09-30T14:12:01+08:00" level=info msg="Executing command: smartctl --xall --json /dev/sda" type=metrics time="2024-09-30T14:12:02+08:00" level=error msg="smartctl returned an error code (4) while processing sda\n" type=metrics time="2024-09-30T14:12:02+08:00" level=error msg="smartctl detected a checksum error" type=metrics time="2024-09-30T14:12:02+08:00" level=info msg="Publishing smartctl results for 0x5000c500da280acf\n" type=metrics time="2024-09-30T14:12:02+08:00" level=info msg="Collecting smartctl results for sdc\n" type=metrics time="2024-09-30T14:12:02+08:00" level=info msg="Executing command: smartctl --xall --json /dev/sdc" type=metrics time="2024-09-30T14:12:03+08:00" level=error msg="smartctl returned an error code (4) while processing sdc\n" type=metrics time="2024-09-30T14:12:03+08:00" level=error msg="smartctl detected a checksum error" type=metrics time="2024-09-30T14:12:03+08:00" level=info msg="Publishing smartctl results for 0x5000c500dab01e4f\n" type=metrics time="2024-09-30T14:12:03+08:00" level=info msg="Collecting smartctl results for sde\n" type=metrics time="2024-09-30T14:12:03+08:00" level=info msg="Executing command: smartctl --xall --json /dev/sde" type=metrics time="2024-09-30T14:12:03+08:00" level=error msg="smartctl returned an error code (4) while processing sde\n" type=metrics time="2024-09-30T14:12:03+08:00" level=error msg="smartctl detected a checksum error" type=metrics time="2024-09-30T14:12:03+08:00" level=info msg="Publishing smartctl results for 0x5000039ce85a59b5\n" type=metrics time="2024-09-30T14:12:03+08:00" level=info msg="Collecting smartctl results for sdb\n" type=metrics time="2024-09-30T14:12:03+08:00" level=info msg="Executing command: smartctl --xall --json /dev/sdb" type=metrics time="2024-09-30T14:12:04+08:00" level=error msg="smartctl returned an error code (4) while processing sdb\n" type=metrics time="2024-09-30T14:12:04+08:00" level=error msg="smartctl detected a checksum error" type=metrics time="2024-09-30T14:12:04+08:00" level=info msg="Publishing smartctl results for 0x5000c500da280bcb\n" type=metrics time="2024-09-30T14:12:04+08:00" level=info msg="Collecting smartctl results for sdd\n" type=metrics time="2024-09-30T14:12:04+08:00" level=info msg="Executing command: smartctl --xall --json /dev/sdd" type=metrics time="2024-09-30T14:12:04+08:00" level=error msg="smartctl returned an error code (4) while processing sdd\n" type=metrics time="2024-09-30T14:12:04+08:00" level=error msg="smartctl detected a checksum error" type=metrics time="2024-09-30T14:12:04+08:00" level=info msg="Publishing smartctl results for 0x5000039ce85a5ca9\n" type=metrics time="2024-09-30T14:12:04+08:00" level=info msg="Collecting smartctl results for nvme1\n" type=metrics time="2024-09-30T14:12:04+08:00" level=info msg="Executing command: smartctl --xall --json --device nvme /dev/nvme1" type=metrics time="2024-09-30T14:12:04+08:00" level=info msg="Publishing smartctl results for syc1n025215502237\n" type=metrics time="2024-09-30T14:12:04+08:00" level=info msg="Collecting smartctl results for nvme2\n" type=metrics time="2024-09-30T14:12:04+08:00" level=info msg="Executing command: smartctl --xall --json --device nvme /dev/nvme2" type=metrics time="2024-09-30T14:12:04+08:00" level=info msg="Publishing smartctl results for phbt9403006l016n\n" type=metrics time="2024-09-30T14:12:04+08:00" level=info msg="Main: Completed" type=metrics
The text was updated successfully, but these errors were encountered:
SEAGATE ST20000NM002D
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Log Files
The text was updated successfully, but these errors were encountered: