curtis e. bear Posted April 25, 2005 Report Share Posted April 25, 2005 can someone help me figure out some code to put in /etc/acpi so that the hard drive powers down after 30 minutes? Quote Link to comment Share on other sites More sharing options...
arthur Posted April 25, 2005 Report Share Posted April 25, 2005 (edited) install this program called hdparm, and issue the command as root: root@localhost # hdparm -S 241 /dev/hda that gives a spindown timeout of 30 minutes, if you want to learn about the timing, type "man hdparm". HTH Edited April 25, 2005 by arthur Quote Link to comment Share on other sites More sharing options...
curtis e. bear Posted April 26, 2005 Author Report Share Posted April 26, 2005 i didn't get an error entering the command, but it doesn't appear that the hard drive spins down... Quote Link to comment Share on other sites More sharing options...
arthur Posted April 28, 2005 Report Share Posted April 28, 2005 try 'hdparm /dev/hda' and it should print a bunch of info to see if it's installed properly. 'hdparm -y /dev/hda' will put your hd in standby and 'hdparm -Y /dev/hda' will put it to sleep. hdparm -S 241 /dev/hda should have printed something like "setting spindown timeout to 30 minutes" to make the changes permanent, you must go into MCC and configure hdparm to start every boot, and put "hda_args = "-S 241"" in /etc/conf.d/hdparm. at least, that's what i would do in gentoo, sorry, i don't have mandrake so about the MCC stuff... :unsure: Quote Link to comment Share on other sites More sharing options...
curtis e. bear Posted May 9, 2005 Author Report Share Posted May 9, 2005 Still doesn't work. I think that it isn't workign because the hard drive keeps being written to, even when it is just sitting there. It's not alot, but it prevents it from starting to spin down. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.