Sunday, May 20, 2012

Laptop HDD head parking


My new ASUS laptop parked the HDD heads over 250,000 times in just 2
day, most HDD's only support 200,000 head parks over the HDD's entire
lifetime.  So how do you turn this off?

First lets check the stats:

%: smartctl -a /dev/sd?

This should display everything you ever wanted to know about the HDD

Load_Cycle_Count is the number of times your HDD has parked it heads.
About 12 times per day is average, NOT over 250,000 in two days.

So how do we turn these off?

%: hdparm -B 255 /dev/sd?

This *should* stop the drive from parking the heads until you turn off
your computer.

%: hdparm -B 254 /dev/sd?

This *should* keep power management on (meaning it will still park the
heads) but not as often.  I issued this command and saw an IMMEDIATE
decline in the number of head parks.  (It also helped stop that annoying
whinny sound I heard everytime the drive spooled up again).

Choose your option.  Turning it off completely is not bad it just uses
more power (I do not know how much more).

To make these permanant:

Check with your linux distribution on slackware I added to the bottom of
/etc/rc.d/rc.local

hdparm -B 254 /dev/sda

(of course you need to add the corresponding letter to your drive, if
its a laptop most likely its /dev/sda)

No comments:

Post a Comment