Skip to content

Smart can't get some disks status report #5740

@vvershkov

Description

@vvershkov

Feature Request

Smart input plugin can't read some disks

Proposal:

Use smartctl -H for disk status

Current behavior:

no info about hitachi disks at all

Desired behavior:

at least I want smart overall status

Smart is looks like this one:

# smartctl -a /dev/sdc
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-46-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HGST
Product:              HUH721212AL5204
Revision:             C3Q1
Compliance:           SPC-4
User Capacity:        12,000,138,625,024 bytes [12.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:      0x5000cca2705ad68c
Serial number:        8HHLYPDH
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Wed Apr 17 19:03:32 2019 MSK
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     26 C
Drive Trip Temperature:        85 C

Manufactured in week 35 of year 2018
Specified cycle count over device lifetime:  50000
Accumulated start-stop cycles:  6
Specified load-unload count over device lifetime:  600000
Accumulated load-unload cycles:  37
Elements in grown defect list: 0

Vendor (Seagate) cache information
  Blocks sent to initiator = 2887258210304

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        222      13598.283           0
write:         0        0         0         0        522          9.783           0
verify:        0        0         0         0       1375          0.000           0

Non-medium error count:        0

No self-tests have been logged

And with -H I can get a standart output:

# smartctl -H /dev/sdc
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-46-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Metadata

Metadata

Assignees

Labels

area/smartbugunexpected problem or unintended behavior

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions