[Bug 59695] Re: High frequency of load/unload cycles on some hard disks may shorten lifetime

Brian Visel aeon.descriptor at gmail.com
Wed May 7 23:21:11 UTC 2008


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.

-- 
High frequency of load/unload cycles on some hard disks may shorten lifetime
https://bugs.launchpad.net/bugs/59695
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux-meta in ubuntu.




More information about the kernel-bugs mailing list