Hard drive spinning down

Lea Gris lea.gris at noiraude.net
Fri Nov 16 12:31:25 UTC 2007

Dotan Cohen a écrit :
> On 16/11/2007, Adrian <linuxguru at netspace.net.au> wrote:
>> Take a look at /etc/default/acpi-support
>> Right at the bottom there should be an entry
>>  From what I'm aware this figure multiplied by 5 will be number of
>> seconds before the hdd spins down from lack of activity. (12 X 5 = 60sec)
>> I'm unsure how to make the drive run constantly but at least you could
>> adjust this figure to say 240? (equals 20min??)
>> Hope this helps.
>> Dotan Cohen wrote:
>>> On Ubuntu Feisty on a Dell Inspiron E1505/6400 I have a problem where
>>> the hard drive spins down once a minute and slow the computer down.
>>> Every minute I hear it spin up again and the machine lags for a few
>>> seconds. How can I tell the drive to always keep spinning?
>>> Thanks in advance.
>>> Dotan Cohen
>>> http://what-is-what.com
>>> http://gibberish.co.il
>>> א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
>>> A: Because it messes up the order in which people normally read text.
>>> Q: Why is top-posting such a bad thing?
> Thanks, I'll give that a try. I've discovered that the situation on
> occurs on battery power, not when the machine is plugged in.

At least you should keep this setting low because it saves some power
when on battery.

The problem is some process are accessing the harddisk and make it spin
 up again immediatly and eventually this will kill it shortly if it keep
going up and down every few minutes.

One solution to avoid too frequent hard disk access by random processes,
is having /tmp mounted in RAM with the following entry in /etc/fstab
# Fstab entry for /tmp in ram
none	/tmp	ramfs

another thing you want to tweek in fstab is: add a noatime option to
mount points so the system avoid constantly writing access date/time to
files even while reading them:

UUID=whateverUUIDitis	/	ext3	defaults,noatime,errors=remount-ro 0	1

This will save som more bit of power and life for your harddisk.

It will save flash media life as well if you are lucky enough to have
one as main harddisk in your laptop.

     Léa Gris - http://www.noiraude.net/
()   Campagne du ruban texte brut contre les courriels en HTML,
/\   contre les pièces jointes dans un format propriétaire.
     Contre les DRMs appelez le : 09f911029d74e35bd84156c5635688c0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071116/5a7f0afd/attachment.pgp>

More information about the ubuntu-users mailing list