summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/fixtures/smart_data_version_1_0_scsi_response.json
blob: dfbe580c79f805990d96aa46ae558489110c7bca (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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
{
    "WDC_WUH721818AL5204_012345689": {
      "device": {
        "info_name": "/dev/sdf",
        "name": "/dev/sdf",
        "protocol": "SCSI",
        "type": "scsi"
      },
      "device_type": {
        "name": "disk",
        "scsi_value": 0
      },
      "form_factor": {
        "name": "3.5 inches",
        "scsi_value": 2
      },
      "json_format_version": [
        1,
        0
      ],
      "local_time": {
        "asctime": "Sun May  8 14:21:11 2022 UTC",
        "time_t": 1652019671
      },
      "logical_block_size": 512,
      "model_name": "WDC WUH721818AL5204",
      "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_vendor": "wdc",
      "physical_block_size": 4096,
      "power_on_time": {
        "hours": 1719,
        "minutes": 55
      },
      "product": "WUH721818AL5204",
      "revision": "C232",
      "rotation_rate": 7200,
      "scsi_error_counter_log": {
        "read": {
          "correction_algorithm_invocations": 1001,
          "errors_corrected_by_eccdelayed": 0,
          "errors_corrected_by_eccfast": 0,
          "errors_corrected_by_rereads_rewrites": 0,
          "gigabytes_processed": "8519.006",
          "total_errors_corrected": 0,
          "total_uncorrected_errors": 0
        },
        "verify": {
          "correction_algorithm_invocations": 261,
          "errors_corrected_by_eccdelayed": 0,
          "errors_corrected_by_eccfast": 0,
          "errors_corrected_by_rereads_rewrites": 0,
          "gigabytes_processed": "0.000",
          "total_errors_corrected": 0,
          "total_uncorrected_errors": 0
        },
        "write": {
          "correction_algorithm_invocations": 25720,
          "errors_corrected_by_eccdelayed": 0,
          "errors_corrected_by_eccfast": 0,
          "errors_corrected_by_rereads_rewrites": 0,
          "gigabytes_processed": "146241.629",
          "total_errors_corrected": 0,
          "total_uncorrected_errors": 0
        }
      },
      "scsi_grown_defect_list": 0,
      "scsi_version": "SPC-5",
      "serial_number": "0123456789",
      "smart_status": {
        "passed": true
      },
      "smartctl": {
        "argv": [
          "smartctl",
          "-x",
          "--json=o",
          "/dev/sdf"
        ],
        "build_info": "(local build)",
        "exit_status": 0,
        "output": [
          "smartctl 7.1 2020-04-05 r5049 [x86_64-linux-4.18.0-348.2.1.el8_5.x86_64] (local build)",
          "Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org",
          "",
          "=== START OF INFORMATION SECTION ===",
          "Vendor:               WDC",
          "Product:              WUH721818AL5204",
          "Revision:             C232",
          "Compliance:           SPC-5",
          "User Capacity:        18,000,207,937,536 bytes [18.0 TB]",
          "Logical block size:   512 bytes",
          "Physical block size:  4096 bytes",
          "LU is fully provisioned",
          "Rotation Rate:        7200 rpm",
          "Form Factor:          3.5 inches",
          "Logical Unit id:      0xffffffffffffffffffffffff",
          "Serial number:        0123456789",
          "Device type:          disk",
          "Transport protocol:   SAS (SPL-3)",
          "Local Time is:        Sun May  8 14:21:11 2022 UTC",
          "SMART support is:     Available - device has SMART capability.",
          "SMART support is:     Enabled",
          "Temperature Warning:  Enabled",
          "Read Cache is:        Enabled",
          "Writeback Cache is:   Enabled",
          "",
          "=== START OF READ SMART DATA SECTION ===",
          "SMART Health Status: OK",
          "",
          "Grown defects during certification <not available>",
          "Total blocks reassigned during format <not available>",
          "Total new blocks reassigned <not available>",
          "Power on minutes since format <not available>",
          "Current Drive Temperature:     38 C",
          "Drive Trip Temperature:        85 C",
          "",
          "Manufactured in week 43 of year 2021",
          "Specified cycle count over device lifetime:  50000",
          "Accumulated start-stop cycles:  9",
          "Specified load-unload count over device lifetime:  600000",
          "Accumulated load-unload cycles:  74",
          "Elements in grown defect list: 0",
          "",
          "Error counter log:",
          "           Errors Corrected by           Total   Correction     Gigabytes    Total",
          "               ECC          rereads/    errors   algorithm      processed    uncorrected",
          "           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors",
          "read:          0        0         0         0       1001       8519.006           0",
          "write:         0        0         0         0      25720     146241.629           0",
          "verify:        0        0         0         0        261          0.000           0",
          "",
          "Non-medium error count:        0",
          "",
          "No Self-tests have been logged",
          "",
          "Background scan results log",
          "  Status: waiting until BMS interval timer expires",
          "    Accumulated power on time, hours:minutes 1719:55 [103195 minutes]",
          "    Number of background scans performed: 5,  scan progress: 0.00%",
          "    Number of background medium scans performed: 5",
          "",
          "Protocol Specific port log page for SAS SSP",
          "relative target port id = 1",
          "  generation code = 3",
          "  number of phys = 1",
          "  phy identifier = 0",
          "    attached device type: expander device",
          "    attached reason: loss of dword synchronization",
          "    reason: unknown",
          "    negotiated logical link rate: phy enabled; 12 Gbps",
          "    attached initiator port: ssp=0 stp=0 smp=1",
          "    attached target port: ssp=0 stp=0 smp=1",
          "    SAS address = 0xffffffffffffffffffffffff",
          "    attached SAS address = 0xffffffffffffffffffffffff",
          "    attached phy identifier = 0",
          "    Invalid DWORD count = 0",
          "    Running disparity error count = 0",
          "    Loss of DWORD synchronization = 0",
          "    Phy reset problem = 0",
          "    Phy event descriptors:",
          "     Invalid word count: 0",
          "     Running disparity error count: 0",
          "     Loss of dword synchronization count: 0",
          "     Phy reset problem count: 0",
          "relative target port id = 2",
          "  generation code = 3",
          "  number of phys = 1",
          "  phy identifier = 1",
          "    attached device type: expander device",
          "    attached reason: power on",
          "    reason: unknown",
          "    negotiated logical link rate: phy enabled; 12 Gbps",
          "    attached initiator port: ssp=0 stp=0 smp=1",
          "    attached target port: ssp=0 stp=0 smp=1",
          "    SAS address = 0xffffffffffffffffffffffff",
          "    attached SAS address = 0xffffffffffffffffffffffff",
          "    attached phy identifier = 0",
          "    Invalid DWORD count = 0",
          "    Running disparity error count = 0",
          "    Loss of DWORD synchronization = 0",
          "    Phy reset problem = 0",
          "    Phy event descriptors:",
          "     Invalid word count: 0",
          "     Running disparity error count: 0",
          "     Loss of dword synchronization count: 0",
          "     Phy reset problem count: 0",
          ""
        ],
        "platform_info": "x86_64-linux-4.18.0-348.2.1.el8_5.x86_64",
        "svn_revision": "5049",
        "version": [
          7,
          1
        ]
      },
      "temperature": {
        "current": 38,
        "drive_trip": 85
      },
      "user_capacity": {
        "blocks": 35156656128,
        "bytes": 18000207937536
      },
      "vendor": "WDC"
    }
  }