Does any one have any ideas how to track down what's waking my hard disk up every few seconds? The problem is that the Linux PC sometimes spends hours not being used and I'd like the HDD to spin down after (say) 15 minutes of inactivity. I've set the BIOS power-saving HDD spin-down and this works well enough when booted to DOS, but in Linux it just won't sleep. If I force it to sleep using 'hdparm -y /dev/hda1', it spins down and promptly starts up again after a few seconds.
I've ensured that it's not cron waking it up and I've also disabled the syslog from writing ' -- mark --' into the log file every so often, but now I'm stumped. I've looked in the log files in /var/log but nothing's owning up so far. Is there a way of logging every disk access request or something like that?
Any ideas, anyone? Thanks!
Gerald.