Hi, I was hoping someone would have an idea of what's going on here... We have two NFS issues. One of which is certainly centos based, one of which we're not sure of. First issue is: As of Centos 5, we can't make simultaneous access to a directory via NFS. To duplicate, I cd into a share in two windows, copy a 1G file in the first window, and just do an ls in the other. The ls will hang until the write is done. Turning off apic seems to help a little, but there's still a very significant hang. This problem is not apparent in centos 4.x, even when mounting to the same NFS server. The other problem is - we're seeing tremendous slowdowns when going through an Acopia NFS virtualization server. These slowdowns got much more severe when we moved to Centos 5.2. If we connect to the NFS appliance directly, these slowdowns don't exist. Has anyone seen problems like this? How did you solve them? Thanks. --Russell -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20081201/50a159f8/attachment-0003.html>
On Mon, Dec 1, 2008 at 10:32 AM, Russell Miller <duskglow at gmail.com> wrote:> Hi, I was hoping someone would have an idea of what's going on here... > > We have two NFS issues. One of which is certainly centos based, one of > which we're not sure of. > > First issue is: As of Centos 5, we can't make simultaneous access to a > directory via NFS. To duplicate, I cd into a share in two windows, copy a > 1G file in the first window, and just do an ls in the other. The ls will > hang until the write is done. > > Turning off apic seems to help a little, but there's still a very > significant hang. > > This problem is not apparent in centos 4.x, even when mounting to the same > NFS server. > > The other problem is - we're seeing tremendous slowdowns when going through > an Acopia NFS virtualization server. These slowdowns got much more severe > when we moved to Centos 5.2. If we connect to the NFS appliance directly, > these slowdowns don't exist. > > Has anyone seen problems like this? How did you solve them?What is the version of your kernel? There are (used to be) known issues with NFS in certain versions of the CentOS-5 kernels. Akemi
Russell Miller wrote: Hello.> directory via NFS. To duplicate, I cd into a share in two windows, > copy a > 1G file in the first window, and just do an ls in the other. The ls > will hang until the write is done. > Has anyone seen problems like this? How did you solve them?Your nfs settings could be helpful. I am using nfs4 with no such problems. Example settings from my /etc/exports: /exports/<DIR> 192.168.0.0/2 (ro,nohide,insecure,no_subtree_check,async) Example settings from my /etc/auto.* (automount): * -fstype=nfs4,rw,tcp,port=2049,soft,intr,rsize=8192,wsize=8192,nosuid <SERVER>:/<PATH>/& Maybe the options *async* and the settings for rsize and wsize could be helpful for you? regards Olaf