Keith Hyland wrote:
> im trying to get my home server (suse6.3) to go to sleep..
> i have set hdparm -S 240 for the three drives hda hdc hdd
> hda keeps starting up again.
Lots of things in Linux will access the hard disk on an automated basis
- and not just file writes either. Any time a file is access the 'atime'
stat of that file will be written back to disk. If you have cron running
at all for example, it will examine /etc/crontab among other files every
minute.
To combat this, you can mount your ext2/3 filesystems with the 'noatime'
option. You should also take a look at http://noflushd.sourceforge.net/
which helps delay disk writes further than would otherwise be done.
> /var/log/messages dosent show anything that seems to be doing it. altough
> there is an entry every 20 mins:
>> Nov 24 03:50:27 oak -- MARK --
Ummm. That message alone is enough to cause a write to a file which, by
default, will be flushed to disk within about 30 seconds. Check your
init scripts that start syslogd and stop it being passed the -m option.
Paul.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!