From: Trond Myklebust Subject: Re: [NFS] mount problems with Acopia and OpenVZ Date: Mon, 25 Aug 2008 18:26:20 -0400 Message-ID: <1219703180.7665.67.camel@localhost> References: <57bc13580808251454l168e68f1g43f6ad137eb68b35@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain Cc: linux-nfs@vger.kernel.org To: Greg Bradner Return-path: Received: from mail-out2.uio.no ([129.240.10.58]:58376 "EHLO mail-out2.uio.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753507AbYHYW0Y (ORCPT ); Mon, 25 Aug 2008 18:26:24 -0400 In-Reply-To: <57bc13580808251454l168e68f1g43f6ad137eb68b35-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Mon, 2008-08-25 at 14:54 -0700, Greg Bradner wrote: > I have a problem with mount options under an OpenVZ container through > an Acopia. I don't have the same problem on the master where the > containers live. > > I try to mount the file system at 32k wsize/rsize. It only mounts a 8k. > > >From fstab: > acopia01:/ac /ac nfs > rw,vers=3,rsize=32768,wsize=32768,hard,intr,proto=tcp,timeo=600,retrans=2 > 0 0 > > After mount: > acopia01:/ac on /ac type nfs > (rw,vers=3,rsize=8192,wsize=8192,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys) > > > I have looked at an strace of mount and don't see anything. I have > looked a ethereal dump and don't see anything. > > What am I'm missing? What can I try? > > Thanks for any help. > > > # cat /etc/issue > CentOS release 5.1 (Final) > > # uname -ar > Linux 2.6.18-53.1.19.el5.028stab053.14 #1 SMP Thu May 8 16:29:13 MSD > 2008 x86_64 x86_64 x86_64 GNU/Linux Known regression with kernels starting with 2.6.19, and fixed in 2.6.23 (the RHEL-5/CentOS-5 kernel was based on the 2.6.19 code). Basically the problem is that if you have the same NFS partition mounted somewhere else, then the NFS client will reuse those mount options. I can't remember for certain if the fix has been backported to RHEL-5.2/CentOS-5.2, but it is worth trying. Cheers Trond