Dne 21.7.2011 18:01, James Brown napsal(a):
I use Debian AMD64 on my laptop AcerTravel Mate 3040.
HDD:
Model Family: Seagate Momentus 7200.4 series
Device Model: ST9500420AS
In the beginning ot this year I had the next report of smartctl:
193 Load_Cycle_Count 0x0032 089 089 000 Old_age Always
- 23521
(after using my HDD about 1,5 year).
On April 2011 I upgraded my OS from lenny to squeeze.
Now I have the next report of smartctl:
193 Load_Cycle_Count 0x0032 031 031 000 Old_age Always
- 139954
How I can debug and fix that problem?
Hi,
you can try to change APM for better performance or disable it entirely
for that disk.
See "hdparm -B /dev/sda" output for the current level and try to raise
it to 254 (best preformance) or 255 (disabled), i.e. "hdparm -B 255
/dev/sda". This should prevent the disk from heads unloading (parking).
If this will help, make this setting permanent:
1) Edit /etc/default/hdparm like this:
harddisks="/dev/sda"
hdparm_opts="-B 255"
and make sure /etc/init.d/hdparm is run during boot.
2) Create /etc/pm/sleep.d/01_hdparm file with:
#!/bin/sh
PATH=/sbin:/usr/sbin:/bin:/usr/bin
if [ ! -x /sbin/hdparm ]; then
exit 0
fi
case "${1}" in
resume|thaw)
service hdparm restart
# nothing
;;
esac
So you will not lost the setting after going from sleep/hibernation if
you are using pm-utils for suspending.
--
Regards,
Petr Gajdůšek
--
To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e2861fc.5020...@centrum.cz