mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* kernel: 3.1-rc4: disk tracing query
@ 2011-09-05 22:01 Justin Piszcz
  2011-09-05 22:50 ` kernel: 3.1-rc4: disk tracing query [SOLVED] Justin Piszcz
  0 siblings, 1 reply; 2+ messages in thread
From: Justin Piszcz @ 2011-09-05 22:01 UTC (permalink / raw)
  To: linux-kernel; +Cc: Alan Piszcz

Hello,

I found that samba seems to stat() the filesystems that are shared out 
even if you are not accessing the ones in question, e.g.:

/raid
/home/user

If I access the server by \\name it will check all of the directories and 
thus wake the raid.
For now I've disabled samba to stop this behavior.

However, I am still noticing my raid waking up from time to time, I've 
tried using gresecurity to track down what is getting exec()'d before it 
wakes but I have not had any luck finding out what it is-- no useful notes 
in the raid ctrl logs either.

Is there a way I can get the kernel to log what program/syscall/etc is 
trying to access a particular block device so I can find out what is 
causing the raid to wake up?

Justin.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: kernel: 3.1-rc4: disk tracing query [SOLVED]
  2011-09-05 22:01 kernel: 3.1-rc4: disk tracing query Justin Piszcz
@ 2011-09-05 22:50 ` Justin Piszcz
  0 siblings, 0 replies; 2+ messages in thread
From: Justin Piszcz @ 2011-09-05 22:50 UTC (permalink / raw)
  To: linux-kernel; +Cc: Alan Piszcz



On Mon, 5 Sep 2011, Justin Piszcz wrote:

> Hello,
>
> I found that samba seems to stat() the filesystems that are shared out even 
> if you are not accessing the ones in question, e.g.:
>
> /raid
> /home/user
>
> If I access the server by \\name it will check all of the directories and 
> thus wake the raid.
> For now I've disabled samba to stop this behavior.
>
> However, I am still noticing my raid waking up from time to time, I've tried 
> using gresecurity to track down what is getting exec()'d before it wakes but 
> I have not had any luck finding out what it is-- no useful notes in the raid 
> ctrl logs either.
>
> Is there a way I can get the kernel to log what program/syscall/etc is trying 
> to access a particular block device so I can find out what is causing the 
> raid to wake up?
>
> Justin.
>

Hello,

Someone has replied to me off-list, it is:

echo 1 >/proc/sys/vm/block_dump

Thanks,

Justin.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-05 22:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-05 22:01 kernel: 3.1-rc4: disk tracing query Justin Piszcz
2011-09-05 22:50 ` kernel: 3.1-rc4: disk tracing query [SOLVED] Justin Piszcz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®