You are not logged in.

#1 2015-08-31 14:40:13

daggerfall
Member
Registered: 2015-04-09
Posts: 4

hdparm disk powersave

I was noticed what my hdds continue working, eating its resource and energy without any load or access to. I was surprised - where is no powersave function in distro by default to spindown HDD's what not in use. I've tried to do it throught hdparm...
hdparm -B 127 -S 255 /dev/sdd
and this
ACTION=="add|change", KERNEL=="sd[b-z]", ATTR{queue/rotational}=="1", RUN+="/usr/bin/hdparm -B 127 -S 255 /dev/%k"

from hdparm info:
* Power Management feature set
Advanced Power Management feature set
Power-Up In Standby feature set



after adding persistent rule /etc/udev/rules.d/50-hdparm.rules I've noticed my HDDs start "restarting" (spinup/down motor) on system start (after power down PC and powerup it again). by logic "-S 255" it's 21 min. to spindown hdd's what is not in use. I've noticed also what HDDs restarting after some time 5-7 minutes without access to it, and spin down without any reason - this is really strange, maybe -B 127 is reason of that. I want my disks spin down when it's not in use about  20-30 minutes and spinup when something accessing to it, simply speaking - sleep mode, like in offtopic os

Offline

Board footer

Powered by FluxBB