Re: finding reasons for disk spin ups
From: Matthew Garrett
Date: Tue Jun 23 2009 - 14:14:22 EST
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
Matthew Garrett | mjg59@xxxxxxxxxxxxx
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/