Originally Posted by
kfurge
After reviewing the datasheet for the Toshiba HDD in the router I discovered it supports an APM mode where it spins in a low power state at about 40% of the full rotational speed. This mode dissipates only slightly more power than a full spin-down. However, the drive spins up in about half the time with much less tortional stress. For those interested, after installing the hdparm ipkg, put these lines in your rc.local:
# Do the necessary steps so the internal HDD will enter low power
# idle after 5 minutes and low RPM idle after 1 hour
mount -o remount,noatime,nodiratime /shares/${pool}
/opt/sbin/hdparm -B 164 ${internal_hdd}
/opt/sbin/hdparm -B 114 ${internal_hdd}
smartctl -dT ${internal_hdd}
The timing equations and details for the two calls to hdparm can be found in the datasheet.
- K.C.