Bill Shannon wrote: > Jonathan Edwards wrote: > > On Mar 1, 2008, at 4:14 PM, Bill Shannon wrote: > >> Ok, that's much better! At least I'm getting output when I touch files > >> on zfs. However, even though zpool iostat is reporting activity, the > >> above program isn't showing any file accesses when the system is idle. > >> > >> Any ideas? > > > > assuming that you're running an interval (ie: zpool iostat -v 5) and > > skipping past the initial summary .. you know it's not file read/write > > activity .. you might want to check other vop calls .. eg: > > http://blogs.sun.com/erickustarz/resource/zvop_times_fsid.d > > > > to see what's happening .. scrubs or silvering perhaps? > > I ended up combining a few programs (cut & paste programming without > really understanding what I was doing!) and ended up with a program > that traces all the zfs_* entry points. Based on the data I'm getting > from that, correlated with the zpool iostat output, it appears that > the culprit is ksh93! It seems that ksh93 is doing a setattr call of > some sort on the .history file.
What's the exact filename and how often are the accesses ? Is this an interactive shell or is this a script (an interactive shell session will do periodical lookups for things like the MAIL*-variables (see ksh(1) and ksh93(1) manual pages) while scripts may do random stuff as intended by the script's author(s)) ? And how does the output of $ set # look like ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss