NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Hardware

Is there a way to determine active NFS clients for a specific volume ?

DYQ
10,064 Views

Hi Guys

 

Does anyone who knows how to list all clients that are right now connecting to a specific volume via NFS on Clustered or 7-mode systems ?

 

Just like "cifs sessions *" command can show connected CIFS clients and the corresponding share.

 

Thanks.

1 REPLY 1

AlexDawson
10,003 Views

Hi there!

 

This is usually something you can see by enabling statistics. For performance reasons, this is usually off.

 

On older 7-mode systems, you would run this:

 

netapp> options nfs.per_client_stats.enable on

netapp> nfsstat -l

 

And on newer systems - 

 

statistics start -object client

statistics stop

statistics show -object client -counter nfs3_ops -fields Instance, Value

 

If you require this information on a regular basis and for auditing purposes, there are third party products like varonis that use our fpolicy engines to record it. 

 

Hope this helps!

Public