Re: [NFS] mount problems with Acopia and OpenVZ

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux