Koozali.org: home of the SME Server

Hard Disk Spindown

Huw

Hard Disk Spindown
« on: May 25, 2001, 07:25:08 PM »
My server is idle (i.e. no connected users) for a large part of the day, I would like to spindown my hdd's (raid1) after a couple of hours of 'inactivity'.  hdparm would work but the disk array is accessed every few seconds.  Help

Huw

Nathan Fowler

Re: Hard Disk Spindown
« Reply #1 on: May 25, 2001, 07:38:31 PM »
If your BIOS supports APM try enabled that in conjunction with hdparm -S 252.

252 sets the timeout to 21 minutes.

Obviously if there is disk access you won't be able to spin down the drive, and if the disk array is constantly accessing the drives this won't work.

I don't see a way to compromise between APM and RAID-1; the redundancy and worth of RAID-1 by far out weighs the benefits of using APM.

Hope this helped,
Nathan Fowler

Huw

Re: Hard Disk Spindown
« Reply #2 on: May 25, 2001, 09:01:18 PM »
Thanks,  

Sorry I didn't make myself clear, what I want to know is what is accessing my array?  Then I can do hdparm stuff, it works with 5 seconds (1) but the drive spins up when accessed again.  I'm not that bothered but it seems a waste of energy to keep the drives up all the time.  I had FreeSco, this did spin down when using hdparm.

Anner Tiete

Re: Hard Disk Spindown
« Reply #3 on: June 07, 2001, 10:44:18 PM »
yes, i have the same problem ...

i allready tried some things described in :

http://www.linuxdoc.org/HOWTO/mini/Battery-Powered-4.html

but maybe e-smith isn't the same as a normal linux distro

... so what am i doing wrong

and what is accesing the harddisk all the time ....???


it would be really nice if anyone could help me ....

thanks

AnnerHuw wrote:
>
> My server is idle (i.e. no connected users) for a large part
> of the day, I would like to spindown my hdd's (raid1) after a
> couple of hours of 'inactivity'.  hdparm would work but the
> disk array is accessed every few seconds.  Help
>
> Huw