summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/fixtures/smart_data_version_1_0_nvme_response.json
blob: fce50658a4484ee17c1c3f5f405ec9ab57c6eab3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
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 }
  }
}