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
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
_______________________________________________
Please note that [email protected] is being discontinued.
Please subscribe to [email protected] instead.
http://vger.kernel.org/vger-lists.html#linux-nfs
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
On Mon, 25 Aug 2008 18:26:20 -0400
Trond Myklebust <[email protected]> wrote:
> 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).
>
RHEL5 is based on 2.6.18 actually, it may have been that this issue was pulled in before the 5.0 release though...
> 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.
>
To my knowledge, this is fixed in 5.2.
--
Jeff Layton <[email protected]>
On Mon, 2008-08-25 at 18:29 -0400, Jeff Layton wrote:
> RHEL5 is based on 2.6.18 actually, it may have been that this issue
> was pulled in before the 5.0 release though...
No. The NFS client code (more specifically the mount code) is based on
stuff which was merged into 2.6.19 as part of the initial support for
cachefs.
> > 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.
> >
>
> To my knowledge, this is fixed in 5.2.
Thanks!
Trond