Results 1 to 2 of 2
Thread: Copies over NFS and buffer issue
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Aug 2011
Copies over NFS and buffer issue
i'm experiencing some strange behavior (at least for me) of my NFS server.
In few words I have a server that exposes a directory via NFS and a client that mount it.
I tested a simple copy from the client to the exposed directory of a file of 2GB and i see that on the server the file is created pretty soon, then no byte is written for a while (checking with ls -la), then the size increases from 0 to something like 8MB, then after a while to 12MB and so on....clearly with some buffer since it doesn't increase "linearly".
This is how the directory is exported:
# exportfs -v
/nfs/dir my-client(rw,async,wdelay,root_squash,no_subtree_chec k,fsid=0,anonuid=65534,anongid=65534)
And in the fstab client file i have:
server:/ /nfs/dir nfs4 rw,rsize=32768,wsize=32768,intr 0 0
Is there any option to remove that buffered behaviour ?
Thanks in advance