Comment 482 for bug 59695

Revision history for this message
Brian Ealdwine (eode) wrote : Re: [Bug 59695] Re: High frequency of load/unload cycles on some hard disks may shorten lifetime

On Sun, 2008-05-04 at 11:33 +0000, Åskar wrote:
> No fix mentioned here works for me..my harddrive is still slowly dying
> with about 5 loadcycle increased every 10 seconds!

If *no* fix works for you, and your count is increasing that quickly,
use this script (this really *is* a dirty fix).

[code]
#! /bin/sh
while [ 1 ]; do
    touch /tmp/foobar.tmp
    sleep 3
done
[/code]

(skip the code and /code tags if they aren't interpreted by the
bugtracker -- that was just to put the script in a block by itself. If
it *is* in a block by itself, nevermind.)

That will keep your disk busy enough that it doesn't sleep. If you
need to, decrease sleep 3 to sleep 2.

It would be a lot better if you asked the manufacturers of your disk for
a utility which changes this behaviour, if it's available.