Jump to content

Slow NFS


Guest Hiep N.
 Share

Recommended Posts

Guest Hiep N.

My Linux NFS server is Mandriva 2009.0, it has a strange problem with NFS. When the disk of this NFS server is idle, NFS mounting and writing from the other NFS client computer to this disk is very fast. But, whenever the NFS server has data writing to its disk (such as sftp, cp, mv), the access from the other NFS client computer to the server is very slow. It even takes up to 30 second to open a file using "vi" command.

 

I tried to mount with different rsize and wsize options, it is still the same. Could someone tell me if it is the bug and how to fix this? Thanks for your time to help solving this problem.

Edited by Hiep N.
Link to comment
Share on other sites

this is what I have, and it seems to work:

 

on the client fstab

172.16.201.18:/DATA /BAA/DATA   nfs     defaults,intr,noatime,rsize=32768,wsize=32768   0 0

 

 

on the nfs server /etc/exports

/DATA             172.16.201.0/255.255.255.0(rw,no_root_squash,async,no_subtree_check)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...