[zfs-discuss] periodic ZFS disk accesses

2008-03-01 Thread Bill Shannon
I recently converted my home directory to zfs on an external disk drive. Approximately every three seconds I can hear the disk being accessed, even if I'm doing nothing. The noise is driving me crazy! I tried using dtrace to find out what process might be accessing the disk. I used the iosnoop

Re: [zfs-discuss] [dtrace-discuss] periodic ZFS disk accesses: try er_kernel

2008-03-01 Thread Marty Itzkowitz
Interesting problem. I've used disk rattle as a measurement of io activity before there were such tools for measurement. It's crude, but effective. To answer your question: you could try er_kernel. It uses DTrace to do statistical callstack sampling, and is described on our kernel profiling

Re: [zfs-discuss] periodic ZFS disk accesses

2008-03-01 Thread Jonathan Edwards
On Mar 1, 2008, at 3:41 AM, Bill Shannon wrote: Running just plain iosnoop shows accesses to lots of files, but none on my zfs disk. Using iosnoop -d c1t1d0 or iosnoop -m /export/ home/shannon shows nothing at all. I tried /usr/demo/dtrace/iosnoop.d too, still nothing. hi Bill this

Re: [zfs-discuss] [dtrace-discuss] periodic ZFS disk accesses: try er_kernel

2008-03-01 Thread Bill Shannon
Marty Itzkowitz wrote: Interesting problem. I've used disk rattle as a measurement of io activity before there were such tools for measurement. It's crude, but effective. To answer your question: you could try er_kernel. It uses DTrace to do statistical callstack sampling, and is

Re: [zfs-discuss] periodic ZFS disk accesses

2008-03-01 Thread Bill Shannon
Bob Friesenhahn wrote: On Sat, 1 Mar 2008, Bill Shannon wrote: Curiously, when I came in to my office this morning, I didn't hear my disk making noise. It wasn't until after I unlocked the screen that the noise started, which makes my think it must be something related to my desktop.

Re: [zfs-discuss] periodic ZFS disk accesses

2008-03-01 Thread Bill Shannon
Jonathan Edwards wrote: On Mar 1, 2008, at 3:41 AM, Bill Shannon wrote: Running just plain iosnoop shows accesses to lots of files, but none on my zfs disk. Using iosnoop -d c1t1d0 or iosnoop -m /export/home/shannon shows nothing at all. I tried /usr/demo/dtrace/iosnoop.d too, still

Re: [zfs-discuss] [dtrace-discuss] periodic ZFS disk accesses: try er_kernel

2008-03-01 Thread Martin . Itzkowitz
Bill Shannon wrote: Marty Itzkowitz wrote: Interesting problem. I've used disk rattle as a measurement of io activity before there were such tools for measurement. It's crude, but effective. To answer your question: you could try er_kernel. It uses DTrace to do statistical callstack

Re: [zfs-discuss] periodic ZFS disk accesses

2008-03-01 Thread Bob Friesenhahn
On Sat, 1 Mar 2008, Bill Shannon wrote: I think I've reached the limit of what I can do remotely. Now I have to repeat all these experiments when I'm sitting next to the disk and can actually hear it and see if the correlation remains. Then, it may be time to dig into the ksh93 code and