drive-health-metrics/testdata/smart_nvme.json
James Coleman ddafa90a02
Some checks failed
Go package / build (push) Has been cancelled
first commit
2026-06-22 17:16:34 -05:00

328 lines
7.4 KiB
JSON

{
"json_format_version": [
1,
0
],
"smartctl": {
"version": [
7,
5
],
"pre_release": false,
"svn_revision": "5714",
"platform_info": "x86_64-linux-6.18.34-1-lts",
"build_info": "(local build)",
"argv": [
"smartctl",
"-j",
"-a",
"-d",
"nvme",
"/dev/nvme0"
],
"exit_status": 0
},
"local_time": {
"time_t": 1782138345,
"asctime": "Mon Jun 22 09:25:45 2026 CDT"
},
"device": {
"name": "/dev/nvme0",
"info_name": "/dev/nvme0",
"type": "nvme",
"protocol": "NVMe"
},
"model_name": "Force MP510",
"serial_number": "21038270000000000000",
"firmware_version": "ECFM13.3",
"nvme_pci_vendor": {
"id": 6535,
"subsystem_id": 6535
},
"nvme_ieee_oui_identifier": 6584743,
"nvme_total_capacity": 4000787030016,
"nvme_unallocated_capacity": 0,
"nvme_controller_id": 1,
"nvme_version": {
"string": "1.3",
"value": 66304
},
"nvme_number_of_namespaces": 1,
"nvme_namespaces": [
{
"id": 1,
"size": {
"blocks": 7814037168,
"bytes": 4000787030016
},
"capacity": {
"blocks": 7814037168,
"bytes": 4000787030016
},
"utilization": {
"blocks": 7814037168,
"bytes": 4000787030016
},
"formatted_lba_size": 512,
"eui64": {
"oui": 6584743,
"ext_id": 299576073406
},
"features": {
"value": 0,
"thin_provisioning": false,
"na_fields": false,
"dealloc_or_unwritten_block_error": false,
"uid_reuse": false,
"np_fields": false,
"other": 0
},
"lba_formats": [
{
"formatted": true,
"data_bytes": 512,
"metadata_bytes": 0,
"relative_performance": 2
},
{
"formatted": false,
"data_bytes": 4096,
"metadata_bytes": 0,
"relative_performance": 1
}
]
}
],
"user_capacity": {
"blocks": 7814037168,
"bytes": 4000787030016
},
"logical_block_size": 512,
"smart_support": {
"available": true,
"enabled": true
},
"nvme_firmware_update_capabilities": {
"value": 18,
"slots": 1,
"first_slot_is_read_only": false,
"activiation_without_reset": true,
"multiple_update_detection": false,
"other": 0
},
"nvme_optional_admin_commands": {
"value": 23,
"security_send_receive": true,
"format_nvm": true,
"firmware_download": true,
"namespace_management": false,
"self_test": true,
"directives": false,
"mi_send_receive": false,
"virtualization_management": false,
"doorbell_buffer_config": false,
"get_lba_status": false,
"command_and_feature_lockdown": false,
"other": 0
},
"nvme_optional_nvm_commands": {
"value": 93,
"compare": true,
"write_uncorrectable": false,
"dataset_management": true,
"write_zeroes": true,
"save_select_feature_nonzero": true,
"reservations": false,
"timestamp": true,
"verify": false,
"copy": false,
"other": 0
},
"nvme_log_page_attributes": {
"value": 8,
"smart_health_per_namespace": false,
"commands_effects_log": false,
"extended_get_log_page_cmd": false,
"telemetry_log": true,
"persistent_event_log": false,
"supported_log_pages_log": false,
"telemetry_data_area_4": false,
"other": 0
},
"nvme_maximum_data_transfer_pages": 512,
"nvme_composite_temperature_threshold": {
"warning": 75,
"critical": 80
},
"temperature": {
"op_limit_max": 75,
"critical_limit_max": 80,
"current": 42
},
"nvme_power_states": [
{
"non_operational_state": false,
"relative_read_latency": 0,
"relative_read_throughput": 0,
"relative_write_latency": 0,
"relative_write_throughput": 0,
"entry_latency_us": 0,
"exit_latency_us": 0,
"max_power": {
"value": 1533,
"scale": 2,
"units_per_watt": 100
}
},
{
"non_operational_state": false,
"relative_read_latency": 1,
"relative_read_throughput": 1,
"relative_write_latency": 1,
"relative_write_throughput": 1,
"entry_latency_us": 0,
"exit_latency_us": 0,
"max_power": {
"value": 965,
"scale": 2,
"units_per_watt": 100
}
},
{
"non_operational_state": false,
"relative_read_latency": 2,
"relative_read_throughput": 2,
"relative_write_latency": 2,
"relative_write_throughput": 2,
"entry_latency_us": 0,
"exit_latency_us": 0,
"max_power": {
"value": 682,
"scale": 2,
"units_per_watt": 100
}
},
{
"non_operational_state": true,
"relative_read_latency": 3,
"relative_read_throughput": 3,
"relative_write_latency": 3,
"relative_write_throughput": 3,
"entry_latency_us": 2000,
"exit_latency_us": 2000,
"max_power": {
"value": 490,
"scale": 1,
"units_per_watt": 10000
}
},
{
"non_operational_state": true,
"relative_read_latency": 4,
"relative_read_throughput": 4,
"relative_write_latency": 4,
"relative_write_throughput": 4,
"entry_latency_us": 25000,
"exit_latency_us": 25000,
"max_power": {
"value": 18,
"scale": 1,
"units_per_watt": 10000
}
}
],
"smart_status": {
"passed": true,
"nvme": {
"value": 0
}
},
"nvme_smart_health_information_log": {
"nsid": -1,
"critical_warning": 0,
"temperature": 42,
"available_spare": 100,
"available_spare_threshold": 5,
"percentage_used": 6,
"data_units_read": 221438663,
"data_units_written": 439320520,
"host_reads": 15653023750,
"host_writes": 8150052010,
"controller_busy_time": 21564,
"power_cycles": 289,
"power_on_hours": 42811,
"unsafe_shutdowns": 239,
"media_errors": 0,
"num_err_log_entries": 2340,
"warning_temp_time": 0,
"critical_comp_time": 0
},
"spare_available": {
"current_percent": 100,
"threshold_percent": 5
},
"endurance_used": {
"current_percent": 6
},
"power_cycle_count": 289,
"power_on_time": {
"hours": 42811
},
"nvme_error_information_log": {
"size": 63,
"read": 16,
"unread": 0,
"table": [
{
"error_count": 2340,
"submission_queue_id": 0,
"command_id": 16,
"status_field": {
"value": 8194,
"do_not_retry": false,
"status_code_type": 0,
"status_code": 2,
"string": "Invalid Field in Command"
},
"phase_tag": false,
"parm_error_location": 40,
"lba": {
"value": 0
},
"nsid": 0
}
]
},
"nvme_self_test_log": {
"nsid": -1,
"current_self_test_operation": {
"value": 0,
"string": "No self-test in progress"
},
"table": [
{
"self_test_code": {
"value": 1,
"string": "Short"
},
"self_test_result": {
"value": 2,
"string": "Aborted: Controller Reset"
},
"power_on_hours": 5892
},
{
"self_test_code": {
"value": 1,
"string": "Short"
},
"self_test_result": {
"value": 0,
"string": "Completed without error"
},
"power_on_hours": 5801
}
]
}
}