Page 1 of 1

Greyhole &

Posted: Wed Oct 06, 2010 3:14 pm
by NeverSimple
I use greyhole with two drives I added after i installed Amahi (on a separate drive). As far as I know nothing is done with the IDE power mode status, meaning that the drives are always on. At least if i issue the command 'hdparm -C' both greyhole drives were always shown as 'active' or 'active/idle'

I would very much like these drives to spin down, so I issued the command 'hdparm -S241' for both drives to let them spin down after half an hour. This seems to work fine. If I check after more than half an hour of inactivity, 'hdparm -C' now shows the drives as 'standby'.

I've tested this for more than a week now and nothing seems to go wrong. If the drives are in 'standy' mode, it takes a few seconds before they respond (which is logical). I've also noticed that it is possible for just one drive to become active while the other remains in 'standby' (while reading)

The last issue in particular made me wonder: does greyhole work reliable with this sort of power scheme for the pool drives?

Richard

Re: Greyhole &

Posted: Wed Oct 06, 2010 3:32 pm
by gboudreau
Sure. As long as the OS itself handles the wakeups (which is the case), Greyhole sees nothing out of the ordinary in this configuration.
I myself have all the drives of my pool going in standby mode after a while (don't remember the value I used):

Code: Select all

[gb@hda ~]$ sudo hdparm -C /dev/sd*1 /dev/sda6 /dev/sda1: drive state is: active/idle /dev/sdb1: drive state is: active/idle /dev/sdc1: drive state is: standby /dev/sdd1: drive state is: active/idle /dev/sde1: drive state is: standby /dev/sdf1: drive state is: standby /dev/sdg1: drive state is: standby /dev/sda6: drive state is: active/idle

Re: Greyhole &

Posted: Thu Oct 07, 2010 12:36 pm
by NeverSimple
Good to know, thanks for the answer.

Could you tell me the best way to make these changes permanent? That is, what configuration file do I edit to re-enable these changes after a computer reboot?

Richard

PS: something strange happened to the topic title....

Re: Greyhole &

Posted: Thu Oct 07, 2010 12:59 pm
by gboudreau
I have this in /etc/rc.local:

Code: Select all

# 10 mins inactivity timeout for HDDs hdparm -S 120 /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg

Re: Greyhole &

Posted: Thu Oct 07, 2010 1:07 pm
by NeverSimple
Just updated my own rc.local

Thanks again


Richard

Re: Greyhole &

Posted: Mon May 23, 2011 4:24 am
by derMerl
this also works absolutly perfect for me.

if the hdd are in standby the power consumption is 18W lower than normal idle

before: 52W idle
after: 34W idle w. hdd in standby

thank you much!