Debian hdd spindown
From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 17:30, 26 June 2006 by 82.246.25.114 (Talk)
If you're not using your Kurobox 24 hours a day, it could be good to allow the HDD to spin down (Will reduce noise and power usage). For this you'll need to install hdparm to tune the sleep delay, and to configure syslog to prevent it from logging a "MARK" every 20 minutes !
Install and configure HDParm
- Installation
apt-get install hdparm
- Configuration
nano /etc/hdparm.conf
and uncomment the lines about /dev/hda at the end of the file, then add
spindown_time = 240
between the brackets. 240 means 240*5 seconds = 20 minutes idle before spinning down ;)
Configure syslogd
If you do not do that, your HDD will be turned on every 20 minutes because syslog will log a "MARK" in /var/log/messages every 20 minutes. So we need to remove that marking : edit /etc/init.d/sysklogd and set SYSLOGD to
SYSLOGD="-m 0"

