[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: logging writes to disk (keeping disk from spinning down)

also sprach green <greenfreedom10@gmail.com> [2009.03.10.0428 +0100]:
> Spinning down the drives is not my problem.  Or rather I don't think it is.  I 
> have set the spindown timeout in hdparm.conf and just need to find out what 
> processes are accessing the filesystems such that the drives don't spin down 
> after that timeout (I use noatime, except for /home which is relatime).
> Surely "hdparm -C" wouldn't spin up a drive?  I am using that to check 
> periodically and the logging that to /tmp (tmpfs).

Try to configure logging such that it writes to tmpfs or
another machine and then set

  echo 1 > /proc/sys/vm/block_dump

to see what's accessing the disks.

 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
"brevity is the soul of wit."
                                                -- polonius (hamlet)
"brevity is ... wit."
                                                     -- the simpsons

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply to: