You are not logged in.

#1 2011-10-29 12:18:16

diederick76
Member
Registered: 2010-02-14
Posts: 157

Hard drive keeps spinning down

One of the more annoying habits of my notebook is that the hard drive keeps spinning down all the time, resulting in the notebook appearing frozen for a second or two every time the hard drive is needed and clicking noises every few seconds. It is a dual boot machine: under Windows, it doesn't seem to do this.

To avoid this, I installed laptop mode tools and added it to my /etc/rc.conf, as suggested on the Wiki. I changed the default spin down value in /etc/laptop-mode/laptop-mode.conf to 128. Then I added noatime and commit=600 to my /etc/fstab entries for /home and /. But nothing seems to work.

Is there anything more that I can do?

Offline

#2 2011-10-29 12:45:45

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: Hard drive keeps spinning down

hdparm -S 0 /dev/sda

how about this?

Offline

#3 2011-10-29 13:18:57

diederick76
Member
Registered: 2010-02-14
Posts: 157

Re: Hard drive keeps spinning down

JokerBoy wrote:
hdparm -S 0 /dev/sda

how about this?

No effect. I can still hear the clicking sound every few seconds. Is there some tool around that I could use to diagnose this? With the journalling off, I would like to know what process is using the hard drive so often.

Last edited by diederick76 (2011-10-29 13:19:52)

Offline

#4 2011-10-29 14:11:34

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: Hard drive keeps spinning down

Try this also:

hdparm -B 254 /dev/sda

Offline

#5 2011-10-29 15:59:25

diederick76
Member
Registered: 2010-02-14
Posts: 157

Re: Hard drive keeps spinning down

JokerBoy wrote:

Try this also:

hdparm -B 254 /dev/sda

I already tried 128 as a value, "manually"  as well as via laptop mode tools, but that didn't work, and neither does this value :-(

Offline

#6 2011-10-29 21:50:36

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: Hard drive keeps spinning down

I know Western Digital made some desktop hard drives that ignore the hdparm command to change the power management settings, I don't know if they made laptop drives like that too. I had to download a special DOS tool from WD to keep it from spinning down.

What is the model of your drive?

Offline

#7 2011-10-29 22:02:49

cinan
Member
From: Slovakia
Registered: 2008-07-04
Posts: 251
Website

Re: Hard drive keeps spinning down

To turn off spinning down your HDD run 'hdparm -B 255 /dev/sda'. Works for me.
From 'man hdparm':

The highest degree  of  power  management  is attained  with a setting of 1, and the highest I/O performance with a setting of 254. A value of 255  tells  hdparm  to  disable  Advanced Power Management altogether on the drive (not all drives support disabling it, but most do).

Last edited by cinan (2011-10-30 11:01:59)

Offline

#8 2011-10-30 12:50:56

diederick76
Member
Registered: 2010-02-14
Posts: 157

Re: Hard drive keeps spinning down

elliott wrote:

I know Western Digital made some desktop hard drives that ignore the hdparm command to change the power management settings, I don't know if they made laptop drives like that too. I had to download a special DOS tool from WD to keep it from spinning down.

What is the model of your drive?

dmesg says its a WDC WD5000BPVT-80HXZT1. Google tells me that's a Western Digital drive, which is supposed to support APM. Did yours?

I kept the Windows partition. I'll look for that tool you mention. Can you tell me where you found it, or what is is called?

Last edited by diederick76 (2011-10-30 12:51:57)

Offline

#9 2011-10-30 14:25:17

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: Hard drive keeps spinning down

The feature is called Intellipark. The tool I used was wdidle3.exe and is available from WD. Not sure if your drive has this feature or not.

Offline

#10 2011-10-30 15:51:05

student975
Member
From: Russian Federation
Registered: 2011-03-05
Posts: 613

Re: Hard drive keeps spinning down

elliott wrote:

The tool I used was wdidle3.exe and is available from WD.

How did you use the tool under Arch? Or - is it one-shot tool (i.e. it writes  something somewhere into hdd  once)?


"I exist" is the best myth I know..

Offline

#11 2011-10-30 16:09:13

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: Hard drive keeps spinning down

student975 wrote:
elliott wrote:

The tool I used was wdidle3.exe and is available from WD.

How did you use the tool under Arch? Or - is it one-shot tool (i.e. it writes  something somewhere into hdd  once)?

It does something to the firmware, so it only needs to be done once. I used a DOS boot CD, can't remember if it was DR DOS, MS DOS or FreeDOS.

Offline

#12 2011-10-30 16:36:10

student975
Member
From: Russian Federation
Registered: 2011-03-05
Posts: 613

Re: Hard drive keeps spinning down

Ups... Sorry! Posting to wrong thread.

@moderator

Please, delete this message.

Last edited by student975 (2011-10-30 17:17:01)


"I exist" is the best myth I know..

Offline

Board footer

Powered by FluxBB