Advertisement

Hard drive sleep

Started by March 03, 2004 08:06 PM
1 comment, last by aftermath 20 years, 11 months ago
Hello. I have a dedicated computer that is always turned on. On that computer, I have two hard drives. On is 20 GB and contains all of the system and user files. The other hard drive is 200 GB (Maxtor 6Y200P0 (Capacity: 199.23 GB); 10,000 RPM) and has only a 100GB partition used. On that hard drive, I store all of my music. The problem is, the hard drive gets hot and takes lots of energy to run. I also don't want to ruin it by having it always spinning. So, what I want to do it to have it (the hard drive) automatically shut off (or suspend) when it is not in used for a certain amount of time. Sort of like how Windows does it. I don't know where to start. What should I be looking for to have this sort of setup? Thanks EDIT: I am running FreeBSD 4.9 [edited by - aftermath on March 4, 2004 4:26:49 PM]
Rate me up.
google for hdparm. IIRC hdparm -Y /dev/myhddev sets your disk to sleep mode - it should be no big problem to write a script that enables sleep automatically.

/roman
Advertisement
hdparm -S (somenumber) /dev/myharddrive sets the timeout for spinning down. See the manpage for details.

This topic is closed to new replies.

Advertisement