[smartmontools-support] SAS Sense Data

Simon Fairweather simon.n.fairweather at gmail.com
Tue Sep 8 20:43:29 CEST 2020


Hi,

Would it be possible to use SAS sense data to enable the -n standby
function for SAS drives in addition to ATA?

sg_requests -v --hex -s /dev/sdd
 00     70 00 00 00 00 00 00 18  00 00 00 00 5e 04 00 00
 10     00 00 00 00 18 38 00 00  00 00 00 00 00 00 00 00

5e is the indicator of power mode.and the second byte is the detail.


  {0x5E,0x00,"Low power condition on"},
    {0x5E,0x01,"Idle condition activated by timer"},
    {0x5E,0x02,"Standby condition activated by timer"},
    {0x5E,0x03,"Idle condition activated by command"},
    {0x5E,0x04,"Standby condition activated by command"},
    {0x5E,0x05,"Idle_b condition activated by timer"},
    {0x5E,0x06,"Idle_b condition activated by command"},
    {0x5E,0x07,"Idle_c condition activated by timer"},
    {0x5E,0x08,"Idle_c condition activated by command"},
    {0x5E,0x09,"Standby_y condition activated by timer"},
    {0x5E,0x0a,"Standby_y condition activated by command"},
    {0x5E,0x41,"Power state change to active"},
    {0x5E,0x42,"Power state change to idle"},
    {0x5E,0x43,"Power state change to standby"},
    {0x5E,0x45,"Power state change to sleep"},
    {0x5E,0x47,"Power state change to device control"},

Regards
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listi.jpberlin.de/pipermail/smartmontools-support/attachments/20200908/8945b58e/attachment.htm>


More information about the Smartmontools-support mailing list