* finding reasons for disk spin ups
@ 2009-06-23 17:00 Norbert Preining
2009-06-23 18:14 ` Matthew Garrett
0 siblings, 1 reply; 2+ messages in thread
From: Norbert Preining @ 2009-06-23 17:00 UTC (permalink / raw)
To: linux-kernel
Hi all,
(please cc)
is there a way I can find the reasons why my disk is spinning up again
and again? I tried to monitor io with
iotop -o -d 0.01 -b -qqq -t
but sometimes the disks spins up without anything showing up.
The partitions are mounted with noatime.
Is there any kernel interface telling me why/whcih process called for
the sync so that the disk wakes up?
Thanks a lot
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at> Vienna University of Technology
Debian Developer <preining@debian.org> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
`My doctor says that I have a malformed public-duty gland
and a natural deficiency in moral fibre, and that I am
therefore excused from saving Universes.'
--- Ford's last ditch attempt to get out of helping
--- Slartibartfast.
--- Douglas Adams, The Hitchhikers Guide to the Galaxy
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: finding reasons for disk spin ups
2009-06-23 17:00 finding reasons for disk spin ups Norbert Preining
@ 2009-06-23 18:14 ` Matthew Garrett
0 siblings, 0 replies; 2+ messages in thread
From: Matthew Garrett @ 2009-06-23 18:14 UTC (permalink / raw)
To: Norbert Preining; +Cc: linux-kernel
On Tue, Jun 23, 2009 at 07:00:06PM +0200, Norbert Preining wrote:
> Hi all,
> (please cc)
>
> is there a way I can find the reasons why my disk is spinning up again
> and again? I tried to monitor io with
> iotop -o -d 0.01 -b -qqq -t
> but sometimes the disks spins up without anything showing up.
> The partitions are mounted with noatime.
>
> Is there any kernel interface telling me why/whcih process called for
> the sync so that the disk wakes up?
Yes. /proc/sys/vm/block_dump - set that to 1. Make sure you disable
syslog first.
--
Matthew Garrett | mjg59@srcf.ucam.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-23 18:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-23 17:00 finding reasons for disk spin ups Norbert Preining
2009-06-23 18:14 ` Matthew Garrett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox