Ask Your Question

track down reason for disk spinup

asked 2014-04-28 12:31:34 -0500

drahnr gravatar image

updated 2014-04-29 04:30:16 -0500

Sometimes some of my backup disks spin up for no reason. ArchLinux does not show that behaviour and never did.

How can I a track down the source events? Note that these do not necessarily include notable read or write, i.e. throughput measurments are not desirable.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-04-28 12:44:25 -0500

mether gravatar image

Try iotop

Name        : iotop
Arch        : noarch
Epoch       : 0
Version     : 0.6
Release     : 2.fc20
Size        : 156 k
Repo        : @System
Summary     : Top like utility for I/O
URL         :
License     : GPLv2+
Description : Linux has always been able to show how much I/O was going on
            : (the bi and bo columns of the vmstat 1 command).
            : iotop is a Python program with a top like UI used to
            : show of behalf of which process is the I/O going on.
edit flag offensive delete link more


But that only shows the current iothroughput. The wakeup does not necessarily include any write/read that is notable. It could be aswell just a dir exists check. Do you know anything that logs all IO events chronologically?

drahnr gravatar imagedrahnr ( 2014-04-29 04:24:03 -0500 )edit

"Logging all IO events chronologically" may turn into an infinite recursion, for logging is IO anyway.

cma gravatar imagecma ( 2014-04-29 21:56:41 -0500 )edit

@cma "may" but a simple if condition can prevent that, also you could blacklist stdin/stdout as well as any filedescriptors associated with the logging process. Not really helpful.

drahnr gravatar imagedrahnr ( 2014-05-03 12:45:03 -0500 )edit

Question Tools

1 follower


Asked: 2014-04-28 12:31:34 -0500

Seen: 128 times

Last updated: Apr 29 '14