diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/fixtures/smart_data_version_1_0_nvme_response.json')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/fixtures/smart_data_version_1_0_nvme_response.json | 134 |
1 files changed, 134 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/fixtures/smart_data_version_1_0_nvme_response.json b/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/fixtures/smart_data_version_1_0_nvme_response.json new file mode 100644 index 000000000..fce50658a --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/fixtures/smart_data_version_1_0_nvme_response.json @@ -0,0 +1,134 @@ +{ + "Samsung_SSD_970_EVO_Plus_1TB_S4EXXXXXXXXXXXX": { + "device": { + "info_name": "/dev/nvme0n1", + "name": "/dev/nvme0n1", + "protocol": "NVMe", + "type": "nvme" + }, + "firmware_version": "1B2QEXM7", + "json_format_version": [1, 0], + "local_time": { "asctime": "Thu Oct 24 10:17:06 2019 CEST", "time_t": 1571905026 }, + "logical_block_size": 512, + "model_name": "Samsung SSD 970 EVO Plus 1TB", + "nvme_controller_id": 4, + "nvme_ieee_oui_identifier": 9528, + "nvme_namespaces": [ + { + "capacity": { "blocks": 1953525168, "bytes": 1000204886016 }, + "eui64": { "ext_id": 367510189547, "oui": 9528 }, + "formatted_lba_size": 512, + "id": 1, + "size": { "blocks": 1953525168, "bytes": 1000204886016 }, + "utilization": { "blocks": 102347056, "bytes": 52401692672 } + } + ], + "nvme_number_of_namespaces": 1, + "nvme_pci_vendor": { "id": 5197, "subsystem_id": 5197 }, + "nvme_smart_health_information_add_log_error": "nvme returned an error: sudo: exit status: 231", + "nvme_smart_health_information_add_log_error_code": -22, + "nvme_smart_health_information_log": { + "available_spare": 100, + "available_spare_threshold": 10, + "controller_busy_time": 29, + "critical_comp_time": 0, + "critical_warning": 0, + "data_units_read": 28800, + "data_units_written": 558814, + "host_reads": 480163, + "host_writes": 2340561, + "media_errors": 0, + "num_err_log_entries": 2, + "percentage_used": 0, + "power_cycles": 4, + "power_on_hours": 13, + "temperature": 42, + "temperature_sensors": [42, 46], + "unsafe_shutdowns": 2, + "warning_temp_time": 0 + }, + "nvme_total_capacity": 1000204886016, + "nvme_unallocated_capacity": 0, + "nvme_vendor": "samsung", + "power_cycle_count": 4, + "power_on_time": { "hours": 13 }, + "serial_number": "S4EXXXXXXXXXXXX", + "smart_status": { "nvme": { "value": 0 }, "passed": true }, + "smartctl": { + "argv": ["smartctl", "-a", "--json=o", "/dev/nvme0n1"], + "build_info": "(local build)", + "exit_status": 0, + "output": [ + "smartctl 7.0 2018-12-30 r4883 [x86_64-linux-5.0.0-32-generic] (local build)", + "Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org", + "", + "=== START OF INFORMATION SECTION ===", + "Model Number: Samsung SSD 970 EVO Plus 1TB", + "Serial Number: S4EXXXXXXXXXXXX", + "Firmware Version: 1B2QEXM7", + "PCI Vendor/Subsystem ID: 0x144d", + "IEEE OUI Identifier: 0x002538", + "Total NVM Capacity: 1.000.204.886.016 [1,00 TB]", + "Unallocated NVM Capacity: 0", + "Controller ID: 4", + "Number of Namespaces: 1", + "Namespace 1 Size/Capacity: 1.000.204.886.016 [1,00 TB]", + "Namespace 1 Utilization: 52.401.692.672 [52,4 GB]", + "Namespace 1 Formatted LBA Size: 512", + "Namespace 1 IEEE EUI-64: 002538 55915075eb", + "Local Time is: Thu Oct 24 10:17:06 2019 CEST", + "Firmware Updates (0x16): 3 Slots, no Reset required", + "Optional Admin Commands (0x0017): Security Format Frmw_DL Self_Test", + "Optional NVM Commands (0x005f): Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp", + "Maximum Data Transfer Size: 512 Pages", + "Warning Comp. Temp. Threshold: 85 Celsius", + "Critical Comp. Temp. Threshold: 85 Celsius", + "", + "Supported Power States", + "St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat", + " 0 + 7.80W - - 0 0 0 0 0 0", + " 1 + 6.00W - - 1 1 1 1 0 0", + " 2 + 3.40W - - 2 2 2 2 0 0", + " 3 - 0.0700W - - 3 3 3 3 210 1200", + " 4 - 0.0100W - - 4 4 4 4 2000 8000", + "", + "Supported LBA Sizes (NSID 0x1)", + "Id Fmt Data Metadt Rel_Perf", + " 0 + 512 0 0", + "", + "=== START OF SMART DATA SECTION ===", + "SMART overall-health self-assessment test result: PASSED", + "", + "SMART/Health Information (NVMe Log 0x02)", + "Critical Warning: 0x00", + "Temperature: 42 Celsius", + "Available Spare: 100%", + "Available Spare Threshold: 10%", + "Percentage Used: 0%", + "Data Units Read: 28.800 [14,7 GB]", + "Data Units Written: 558.814 [286 GB]", + "Host Read Commands: 480.163", + "Host Write Commands: 2.340.561", + "Controller Busy Time: 29", + "Power Cycles: 4", + "Power On Hours: 13", + "Unsafe Shutdowns: 2", + "Media and Data Integrity Errors: 0", + "Error Information Log Entries: 2", + "Warning Comp. Temperature Time: 0", + "Critical Comp. Temperature Time: 0", + "Temperature Sensor 1: 42 Celsius", + "Temperature Sensor 2: 46 Celsius", + "", + "Error Information (NVMe Log 0x01, max 64 entries)", + "No Errors Logged", + "" + ], + "platform_info": "x86_64-linux-5.0.0-32-generic", + "svn_revision": "4883", + "version": [7, 0] + }, + "temperature": { "current": 42 }, + "user_capacity": { "blocks": 1953525168, "bytes": 1000204886016 } + } +} |