disable WD Green drive head parking in archlinux
Monday, January 7, 2013 6:42:33 PM
in order to diagnose the problem install smartmontools from extra repository:
# pacman -S smartmontools
then use smartctl from this package to get to know total number of hours in power-on state and number of load/unload cycles into landing zone position for your WD drive (this is /dev/sdb in my case):
# smartctl -a /dev/sdb | grep Power_On_Hours 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 21 # smartctl -a /dev/sdb | grep Load_Cycle_Count 193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 467
as you see my hard drive has been parking its heads approximately 22 (467/21) times per hour up till now that is too much!
fortunately I came across one marvelous utility in AUR - idle3-tools (if you don't use archlinux you can find this utility here). its task is exactly to "disable, get and set the value of the infamous idle3 timer found on recent Western Digital Hard Disk Drives". this is some kind of analogue to wdidle3.exe for Windows.
further instructions are pretty straightforward:
- install idle3-tools from AUR:
# yaourt -S idle3-tools
- disable idle3 timer for your WD drive:
# idle3ctl -d /dev/sdb
you can also set different idle3 timer value instead of disabling it completely (see idle3ctl help).
- poweroff computer (it's required for a new setting to take effect) and boot it again.
after boot Load_Cycle_Count parameter remains the same for more than 2 hours now even though my hard drive might be not as green as before