Page 1 of 1

Letting the hard drive spin down

Posted: Mon Sep 06, 2010 3:17 pm
by bengosney
I'm new to Amahi and new-ish to linux . With that out of the way, my Amahi server is in my bedroom and because of hard disk noise I've set it to "turn off" the drive after awhile but as soon as it does, it spins straight back up even if nothing else on the network is turned on. Is this normal? and is there a way to stop this?

thanks for any help
Ben.

Re: Letting the hard drive spin down

Posted: Mon Sep 06, 2010 6:13 pm
by bigfoot65
Hello,

Can't say I have seen this this asked before. We have many experienced users who might be able to help.

Might consider posting this in the Fedora forums.

Re: Letting the hard drive spin down

Posted: Mon Sep 06, 2010 11:31 pm
by moredruid
You can check this: as soon as the drive spins up you can do an lsof of the disk (or logical volume) to see which process is accessing the drive. Example:

Code: Select all

root@host# lsof /dev/sda
you can also try tweaking your setup and stopping services here and there but you basically should know a bit what you're doing.

I'm not sure which programs run that are disk hitters, though I would suspect Greyhole to be one of them.
Also, if you have installed an X environment (e.g. Gnome desktop) you may have an indexer running as well.