Project

General

Profile

Actions

Support #9849

open

Add support for pull temperature and speed off of SATA drives

Added by Rob Johnston almost 4 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Start date:
2018-09-18
Due date:
% Done:

0%

Estimated time:
Tags:
needs-triage
Gerrit CR:

Description

illumos#9455 extended the disk enumerator plugin in libtopo to expose the disk speed and current temperature on the disk node. Currently this only supports SAS devices. Support for NVMe devices is covered by the following Joyent ticket:

https://jira.joyent.us/browse/OS-6650

Support for SATA could be added. The temperature is available on log address 0x4/log page 0x5 (see section 9.5.8 of the T13 ACS-4 spec). And the nominal rotation rate is a mandatory field in the data returned by the IDENTIFY DEVICE command - so I'm surprised that we're not already surfacing that. I have not looked that closely as to what would need to get DKIOCGTEMPERATURE working for SATA drives, but given the way that the sata layer piggy-backs on top of the scsi transport layer, my best guess is that it would be a matter of extending the existing sata translation logic to translate the SCSI log sense command to the appropriate SATA log sense command. I'm filing this bug simply to document the gap in the functionality delivered by illumos#9455. I've marked the priority as low, as we (joyent) have no plans to work on this.


Related issues

Related to illumos gate - Feature #9455: Expose drive speed and temperature on disk topo nodeClosedRob Johnston2018-04-11

Actions
Actions #1

Updated by Rob Johnston almost 4 years ago

  • Related to Feature #9455: Expose drive speed and temperature on disk topo node added
Actions

Also available in: Atom PDF