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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...