NFS/mount client cache issue

Issues related to configuring your network
Post Reply
ilan.sch
Posts: 6
Joined: 2017/02/09 09:41:07

NFS/mount client cache issue

Post by ilan.sch » 2017/02/09 09:58:05

Hi,
I have a netapp server exportting NFS share (NFS3).
I am monitoring the fpolicy on the netapp server, this means, I listen to all FILE READ operation of the share.

From a CentOS machine, I mount that NFS and perform FILE READ (cat) operation.
In the first time I will do "cat" from CentOS client, in the netapp I receive FILE READ event.

If I do additional "cat filename", I dont get the event FILE READ counter to increase.
Also. If i log in to the same CentOS with different user, create a NEW mount point, and perform cat on the same file, The FILE READ counter on netapp stays the same.
I assume - the NFS Client is having internal cache mechanism.

The only way the FILE READ counter increased by one, was when I *remount* and performed cat.

I mounted the NFS with the following command:
mount -o lookupcache=none,actimeo=0,noac 10.10.10.1:/vol/vol0_unix /mnt/nfs1
Notice the lookupcache=none,actimeo=0,noac

Are there additional NFS Client cache mechanism i am missing ?

My NFS Client is: Linux CENTOS 6.4 2.6.32-358.el6.x86_64

Machine NFS Version:

[ilan@DevCore-Centos6 nfs1]$ rpm -qa|grep -i nfs
nfs-utils-1.2.3-36.el6.x86_64
nfs-utils-lib-1.1.5-6.el6.x86_64
nfs4-acl-tools-0.3.3-6.el6.x86_64
[ilan@DevCore-Centos6 nfs1]$

I want to achieve FILE READ operation on the netapp on each file read, regardless to the mountpoint/nfs client/user/machine.

Is it possible ?
Thanks !

Post Reply