Comment 427 for bug 59695

Revision history for this message
Akshay Srinivasan (akshay.srinivasan) wrote : Re: [Bug 59695] Re: High frequency of load/unload cycles on some hard disks may shorten lifetime

I've been using this nifty little script which accesses the hard disk
every 7 secs (like windows :) ) so that the disk head isn't parked,
surprisingly enough , the temperature remians at around 44C ,whereas
with the -B 255 it would easily soar to around 52C.Could anyone here
check if it works on their system ??
(run it with sudo , sudo ck.sh <device path> )

#!/bin/sh
hdparm -B 128 $1
while : ;
do
smartctl -a $1 | grep Load
sleep 7
done