I have enable "spindown" on one of my Linux server's drives, which is only accessed by a BitTorrent client – meaning, when I don't have torrents running, nothing else should be accessing the disk and waking it up from spindown (right?).
But something is making the disk spin up every 15 minutes or so. How can I track the rogue culprit?
Thanks for any feedback!
Best Answer
You can check out http://samwel.tk/laptop_mode/ . Although this page is not primarly about your problem, but gives a good overall picture how IO works and ideas, how to silent your disks by shutting them off.
The short answer for your problem:
it will produce messages in syslog like:
I've used a simple ls command
NOTE: be sure your system logging is shut off or written to a ramdisk (type: tmpfs) before doing so, because (quote): "your system may get into a feedback loop, where syslogd causes disk activity, this causes kernel output, and this causes syslogd to do more disk activity"
I recommend mounting /tmp as a ramdisk then setting up logging to /tmp/syslog. This in /etc/fstab (and a reboot) will do: