Skip to content

smart should support SAS metrics #321

@trixpan

Description

@trixpan

Attributes are not generally present on SAS drives. Instead their outputs show like:

# smartctl -a /dev/sdf -d scsi | less
smartctl 5.43 2012-06-30 r3573 [x86_64-linux-2.6.32-573.18.1.el6.x86_64] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

Vendor:               SEAGATE
Product:              ST33000650SS
Revision:             0002
User Capacity:        3,000,592,982,016 bytes [3.00 TB]
Logical block size:   512 bytes
Logical Unit id:      XXXXXXXXXXXXXXXXXXXXXX
Serial number:        XXXXXXXXXXXXXXXXXXXXX
Device type:          disk
Transport protocol:   SAS
Local Time is:        Thu May 26 16:16:42 2016 AEST
Device supports SMART and is Enabled
Temperature Warning Enabled
SMART Health Status: OK

Current Drive Temperature:     33 C
Drive Trip Temperature:        68 C
Manufactured in week 18 of year 2015
Specified cycle count over device lifetime:  10000
Accumulated start-stop cycles:  125
Specified load-unload count over device lifetime:  300000
Accumulated load-unload cycles:  321
Elements in grown defect list: 0
Vendor (Seagate) cache information
  Blocks sent to initiator = 2158315773
  Blocks received from initiator = 2183422711
  Blocks read from cache and sent to initiator = 2554738968
  Number of read and write commands whose size <= segment size = 417758892
  Number of read and write commands whose size > segment size = 4324
Vendor (Seagate/Hitachi) factory information
  number of hours powered up = 38132.48
  number of minutes until next internal SMART test = 43

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:   4101491491        0         0  4101491491          0     620621.533           0
write:         0        0         0         0          0       7883.828           0
verify: 1383964438        0         0  1383964438          0     186958.123           0

Non-medium error count:     2019
No self-tests have been logged
Long (extended) Self Test duration: 27600 seconds [460.0 minutes]

Other references:
https://www.smartmontools.org/browser/trunk/www/smartmontools_scsi.xml
http://superuser.com/questions/618736/how-do-i-interpret-smart-data-for-sas-disks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions