Linux NFS development
 help / color / mirror / Atom feed
* [NFS] mount problems with Acopia and OpenVZ
@ 2008-08-25 21:54 Greg Bradner
       [not found] ` <57bc13580808251454l168e68f1g43f6ad137eb68b35-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Greg Bradner @ 2008-08-25 21:54 UTC (permalink / raw)
  To: nfs

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  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
_______________________________________________
Please note that nfs@lists.sourceforge.net is being discontinued.
Please subscribe to linux-nfs@vger.kernel.org instead.
    http://vger.kernel.org/vger-lists.html#linux-nfs


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [NFS] mount problems with Acopia and OpenVZ
       [not found] ` <57bc13580808251454l168e68f1g43f6ad137eb68b35-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2008-08-25 22:26   ` Trond Myklebust
  2008-08-25 22:29     ` Jeff Layton
  0 siblings, 1 reply; 4+ messages in thread
From: Trond Myklebust @ 2008-08-25 22:26 UTC (permalink / raw)
  To: Greg Bradner; +Cc: 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [NFS] mount problems with Acopia and OpenVZ
  2008-08-25 22:26   ` Trond Myklebust
@ 2008-08-25 22:29     ` Jeff Layton
       [not found]       ` <20080825182903.2d86036b-RtJpwOs3+0O+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Layton @ 2008-08-25 22:29 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: Greg Bradner, linux-nfs

On Mon, 25 Aug 2008 18:26:20 -0400
Trond Myklebust <trond.myklebust@fys.uio.no> 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 <jlayton@redhat.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [NFS] mount problems with Acopia and OpenVZ
       [not found]       ` <20080825182903.2d86036b-RtJpwOs3+0O+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
@ 2008-08-25 22:44         ` Trond Myklebust
  0 siblings, 0 replies; 4+ messages in thread
From: Trond Myklebust @ 2008-08-25 22:44 UTC (permalink / raw)
  To: Jeff Layton; +Cc: Greg Bradner, linux-nfs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-25 22:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-25 21:54 [NFS] mount problems with Acopia and OpenVZ Greg Bradner
     [not found] ` <57bc13580808251454l168e68f1g43f6ad137eb68b35-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-08-25 22:26   ` Trond Myklebust
2008-08-25 22:29     ` Jeff Layton
     [not found]       ` <20080825182903.2d86036b-RtJpwOs3+0O+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2008-08-25 22:44         ` Trond Myklebust

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox