
Originally Posted by
kfurge
FWIW, I've actually stopped spinning down my HDD. I didn't like how long it takes to spin up. I didn't like the mechanical wear and tear either.
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.
Hi KC,
I would like to do the same like you did but my harddisk model is HDT722516DLAT80 (HITACHI Deskstar T7K250). I've checked the datasheet from Hitachi and it says the following which I do not know how I should set the parameters for hdparm:
10.14 Advanced Power Management feature set (APM)
This feature allows the host to select an advanced power management level. The advanced power management level
is a scale from the lowest power consumption setting of 01h to the maximum performance level of FEh. Device
performance may increase with increasing advanced power management levels. Device power consumption may
increase with increasing advanced power management levels. The advanced power management levels contain
discrete bands described in the section of SET FEATURES command in detail. This feature set uses the following
functions:
• A SET FEATURES subcommand to enable Advanced Power Management
• A SET FEATURES subcommand to disable Advanced Power Management
Advanced Power Management is independent of the Standby timer setting. If both Advanced Power Management
and the Standby timer are set, the device will go to the Standby state when the timer times out or the device's
Advanced Power Management algorithm indicates that the Standby state should be entered.
The IDENTIFY DEVICE response word 83, bit 3 indicates that Advanced Power Management feature is supported
if set. Word 86, bit 3 indicates that Advanced Power Management is enabled if set. Word 91, bits 7-0 contains the
current Advanced Power Management level if it is enabled.
I read from your reply to dophine who is using the same Hitachi HD at http://wl500g.info/showthread.php?t=...light=spindown -- do you mean i can use the same settings like you did?
/opt/sbin/hdparm -B 164 ${internal_hdd}
/opt/sbin/hdparm -B 114 ${internal_hdd}
Could you kindly advise? I'm using "hdparm -S 180 ${internal_hdd}" now which spinsdown the harddisk, not the best option from the advice you had given.
Btw, i noticed that S.M.A.R.T. is not enabled when i look at the admin page for the harddisk details. It doesn't look right to me, am i missing something?
Many thanks for your help!
cheers,
Patrick