Jump to content
jvdivx

SAS disks spin-down 6.8-rc7

8 posts in this topic Last Reply

Recommended Posts

I have installed version 6.8.0-rc7 that has support for sdparm. Of the 27 disks that I have in array 4 of them are SAS disks. But I can't spin-down.
If needed I can help you as a tester for your developments.

unraid68.JPG

 

Errors.

 

Cap1.JPG.399160318c3ccecc9caaff6ecb785869.JPG

Edited by jvdivx

Share this post


Link to post
1 hour ago, johnnie.black said:

SAS spindown will be supported soon.

 

 

I was testing the sg_start command in both version 6.7.2 and 6.8-rc7, without satisfactory results. Execute the command without errors but no spin-down disks.

 

Thanks.

Share this post


Link to post

These are the results of some tests:

 

root@jvdivx-unraid:~# sdparm --get STANDBY /dev/sdaa
    /dev/sdaa: HGST      HUH721010AL4200   A21D
STANDBY       0  [cha: y, def:  0, sav:  0]
root@jvdivx-unraid:~# sdparm --set STANDBY=1 /dev/sdaa
    /dev/sdaa: HGST      HUH721010AL4200   A21D
root@jvdivx-unraid:~# sdparm --get STANDBY /dev/sdaa
    /dev/sdaa: HGST      HUH721010AL4200   A21D
STANDBY       1  [cha: y, def:  0, sav:  0]

 

 


root@jvdivx-unraid:~# sdparm -S /dev/sdaa
    /dev/sdaa: HGST      HUH721010AL4200   A21D
Read write error recovery mode page:
  AWRE          1  [cha: y, def:  1, sav:  1]
  ARRE          1  [cha: y, def:  1, sav:  1]
  PER           0  [cha: y, def:  0, sav:  0]
Disconnect-reconnect (SPC + transports) mode page:
  BFR           0  [cha: y, def:  0, sav:  0]
Format (SBC) mode page:
  TPZ           10998  [cha: n, def:10998, sav:10998]
Rigid disk (SBC) mode page:
  NOC           412982  [cha: n, def:412982, sav:412982]
mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

Verify error recovery (SBC) mode page:
  V_EER         0  [cha: n, def:  0, sav:  0]
Caching (SBC) mode page:
  IC            0  [cha: y, def:  0, sav:  0]
  WCE           1  [cha: y, def:  0, sav:  1]
  RCD           0  [cha: y, def:  0, sav:  0]
Control mode page:
  TST           0  [cha: n, def:  0, sav:  0]
  SWP           0  [cha: n, def:  0, sav:  0]
Control extension mode page:
  DLC           0  [cha: n, def:  0, sav:  0]
Application tag (SBC) mode page:
  AT_LAST       1  [cha: y, def:  1, sav:  1]
  AT_LAST.1     0  [cha: y, def:  0, sav:  0]
  AT_LBAT.1     0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LBA.1      0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_COUNT.1    0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LAST.2     0  [cha: y, def:  0, sav:  0]
  AT_LBAT.2     0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LBA.2      0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_COUNT.2    0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LAST.3     0  [cha: y, def:  0, sav:  0]
  AT_LBAT.3     0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LBA.3      0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_COUNT.3    0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LAST.4     0  [cha: y, def:  0, sav:  0]
  AT_LBAT.4     0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LBA.4      0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_COUNT.4    0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LAST.5     0  [cha: y, def:  0, sav:  0]
  AT_LBAT.5     0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LBA.5      0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_COUNT.5    0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LAST.6     0  [cha: y, def:  0, sav:  0]
  AT_LBAT.6     0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LBA.6      0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_COUNT.6    0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LAST.7     0  [cha: y, def:  0, sav:  0]
  AT_LBAT.7     0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LBA.7      0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_COUNT.7    0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LAST.8     0  [cha: y, def:  0, sav:  0]
  AT_LBAT.8     0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LBA.8      0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_COUNT.8    0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LAST.9     0  [cha: y, def:  0, sav:  0]
  AT_LBAT.9     0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LBA.9      0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_COUNT.9    0x0  [cha: y, def: 0x0, sav: 0x0]
  AT_LAST.10    1  [cha: y, def:  1, sav:  1]
  AT_LBAT.10    0x0  [cha: n, def: 0x0, sav: 0x0]
  AT_LBA.10     0x0  [cha: n, def: 0x0, sav: 0x6989e07fd7f0000]
  AT_COUNT.10   0x800000000000ffff  [cha: y, def: 0x800000000000ffff, sav: 0x300000000000000]
  AT_LAST.11    1  [cha: n, def:  0, sav:  0]
  AT_LBAT.11    0xffff  [cha: n, def: 0x0, sav: 0x0]
  AT_LBA.11     0xffffffffffffffff  [cha: y, def: 0xffffffffffffffff, sav: 0xa0489e07fd7f0000]
  AT_COUNT.11   0x800000000000ffff  [cha: n, def: 0x0, sav: 0x100000000000000]
  AT_LAST.12    1  [cha: n, def:  0, sav:  0]
  AT_LBAT.12    0xffff  [cha: n, def: 0x0, sav: 0x0]
  AT_LBA.12     0xffffffffffffffff  [cha: n, def: 0x0, sav: 0x12f400000000000]
  AT_COUNT.12   0x800000000000ffff  [cha: n, def: 0x0, sav: 0xffffffff00000000]
  AT_LAST.13    1  [cha: n, def:  0, sav:  0]
  AT_LBAT.13    0xffff  [cha: n, def: 0x0, sav: 0x0]
  AT_LBA.13     0xffffffffffffffff  [cha: n, def: 0x0, sav: 0x0]
  AT_COUNT.13   0x800000000000ffff  [cha: n, def: 0x0, sav: 0x0]
  AT_LAST.14    1  [cha: n, def:  0, sav:  0]
  AT_LBAT.14    0xffff  [cha: n, def: 0x0, sav: 0x0]
  AT_LBA.14     0xffffffffffffffff  [cha: n, def: 0x0, sav: 0x0]
  AT_COUNT.14   0x800000000000ffff  [cha: n, def: 0x0, sav: 0xffffffff]
  AT_LAST.15    1  [cha: n, def:  0, sav:  0]
  AT_LBAT.15    0xffff  [cha: n, def: 0x0, sav: 0x0]
  AT_LBA.15     0xffffffffffffffff  [cha: n, def: 0x0, sav: 0x0]
  AT_COUNT.15   0x800000000000ffff  [cha: n, def: 0x0, sav: 0x0]
mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

Protocol specific logical unit mode page:
  LUPID         6  [cha: n, def:  6, sav:  6]
Protocol specific port mode page:
  PPID          6  [cha: n, def:  6, sav:  6]
Power condition mode page:
  PM_BG         0  [cha: y, def:  0, sav:  0]
Power consumption mode page:
  ACT_LEV       0  [cha: n, def:  0, sav:  0]
mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

Informational exceptions control mode page:
  PERF          0  [cha: y, def:  0, sav:  0]
  EWASC         1  [cha: y, def:  1, sav:  1]
  DEXCPT        0  [cha: y, def:  0, sav:  0]
  MRIE          6  [cha: y, def:  3, sav:  6]
Background control (SBC) mode page:
  S_L_FULL      0  [cha: y, def:  0, sav:  0]
mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]

mode sense(10): transport: Host_status=0x07 [DID_ERROR]
Driver_status=0x08 [DRIVER_SENSE]
 

Share this post


Link to post
On 12/2/2019 at 3:32 PM, johnnie.black said:

SAS spindown will be supported soon.

 

Hi @johnnie.black, any idea which release will feature SAS spindown?  Does it mean with SAS Spin down, drives not accessed will use less power?  I believe SAS eat more electricity than SATA?

Share this post


Link to post
17 hours ago, jang430 said:

Hi @johnnie.black, any idea which release will feature SAS spindown?

No idea, if you read the rest of the thread you see that the command that was going to be used doesn't work for everyone.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.