Difference between revisions of "Debian hdd spindown"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
(Configure syslogd)
(Configure syslogd)
Line 9: Line 9:
 
== Configure syslogd ==
 
== 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 :
 
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 :
  To be completed
+
edit /etc/init.d/sysklogd and set SYSLOGD to
 +
  SYSLOGD="-m 0"

Revision as of 17:16, 26 June 2006

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
To be completed

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"