Oh, and start /usr/lib/nfs/nfslogd.  If you just set sharenfs, nfslogd won't 
start automatically, but it will at reboot.

-
Cameron Hanover
chano...@umich.edu

"Our integrity sells for so little, but it is all we really have. It is the 
very last inch of us, but within that inch, we are free."
--Valerie (V for Vendetta)

On Jun 17, 2010, at 9:24 AM, Cameron Hanover wrote:

> You can turn on NFS auditing with the sharenfs option "rw=host1:host2,log".  
> Audit logs are in /var/nfs.  I believe there's a bit of setup in 
> /etc/nfs/nfslog.conf and /etc/default/nfslogd, but I think I'm running fine 
> off of defaults.  This only works for NFSv3.  NFSv4 won't log.
> 
> --
> Cameron Hanover
> chano...@umich.edu
> 
> "Giving money and power to the government is like giving whiskey and car keys 
> to teenage boys."
> --P.J. O'Rourke
> 
> On Jun 17, 2010, at 8:56 AM, Edward Ned Harvey wrote:
> 
>> When somebody is hammering on the system, I want to be able to detect who's 
>> doing it, and hopefully even what they're doing.
>> 
>> 
>> 
>> I can't seem to find any way to do that.  Any suggestions?
>> 
>> 
>> 
>> Everything I can find ... iostat, nfsstat, etc ... AFAIK, just show me 
>> performance statistics and so forth.  I'm looking for something more 
>> granular.  Either *who* the activity belongs to, or *what* files are active 
>> (which might indirectly let me figure out who) ... etc.
>> 
>> 
>> 
>> If it makes the problem any easier (or harder) all the access is coming 
>> across NFS.  And maybe a little CIFS.
>> 
>> 
>> 
>> _______________________________________________
>> zfs-discuss mailing list
>> zfs-discuss@opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
> 
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
> 
> 

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to