Tuesday, June 24, 2014

still notebook hdd bug

I describes at my wiki how to avoid the notebook hdd bug with reading the smart values every 30 seconds.
But this not works correctly. After waking up from sleep mode the hdd goes every 10 sec into sleep and was waked up.
So i correctet the script so that i read the smart values every 10 seconds.
This works much better.
Here the updated script:

while :
sleep 10
/usr/sbin/smartctl -g apm /dev/sda > /dev/null

No comments:

Post a Comment