Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Hdparm, how to stop d in a standalone pc server
post Nov 12 2005, 04:46 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 2
Joined: 12-November 05
Member No.: 5,732

Hi Guys,
I was hoping some might be able to show me how to set the Hard Drive spin down (or standby) time, so the drive is not spinning 24/7. I'm having trouble working out what the command to do this correctly is.

The other problem is then How do I get Linux to remeber these settings, someone told me to put the commands in the rc.local file, but I'm not sure that's the right place, I thought it needed to be done earlier in the boot process.

Any Help would be appreciated.
Go to the top of the page
+Quote Post
post Nov 13 2005, 03:36 AM
Post #2

Its GNU/

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828

I am not a pro with hdparm so I really can't help you with that. But as far as running the commands, there are a couple ways to do it. It kind of depends on what you need to do.

If the command needs to be run ounce at boot you can do it a couple ways. You could write a nice neat bash script and add it to your default run level, that would run it durring boot. You also good put in rc.local, which would run it when you logged in.

If its a command that needs to be run multiple times on a regular basis, then you want to do a cron job. If you can get the command figured out, I can help you set it up correctly.

Explain in more detail what it is you want to do, and what distro are you running.

One more thing, man is your friend. man hdparm

--Jim Lester

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 17th July 2018 - 12:45 PM