Created
December 9, 2019 21:29
-
-
Save csamsel/d8dd7f8061a54b714e4a74a9022edb6e to your computer and use it in GitHub Desktop.
activate power management on sas drives
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# disable background scan (might prevent standby) | |
sdparm --quiet --clear=EN_BMS --save /dev/disk/by-id/scsi-????????????????? | |
# enable standby (powers down drive motor) | |
sdparm --flexible --quiet --save -p po --set=STANDBY=1 /dev/disk/by-id/scsi-????????????????? | |
# set standby to 30min | |
sdparm --flexible --quiet --save -p po --set=SCT=18000 /dev/disk/by-id/scsi-????????????????? | |
# enable idle (drives spins but servos are off) | |
sdparm --flexible --quiet --save -p po --set=IDLE_B=1 /dev/disk/by-id/scsi-????????????????? | |
# set idle to 5min | |
sdparm --flexible --quiet --save -p po --set=ICT=3000 /dev/disk/by-id/scsi-????????????????? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment