OpenVZ Forum


Home » General » Support » NFS mount from container to external server (mount.nfs rejects NFS v2)
NFS mount from container to external server [message #43040] Fri, 08 July 2011 00:44 Go to next message
compata
Messages: 4
Registered: July 2011
Junior Member
Attempts to mount an NFS share from a container are failing. The container wants to run the precreated Fedora 14 x86_64 kernel but I have also tried the Fedora 14 x86 and Centos 5 x86_64 kernels with the same result. The NFS server is running NFS protocol 2, not 3, and is beyond my ability to modify.

A standard Fedora 13 or 14 kernel, either x86 or x86_64, is able to successfully mount this share. Running the mount from within a container or from CT0 fails with the message, "protocol not supported". Examination of the communication dialog with tcpdump shows that everything proceeds as expected until the failure message appears. There is nothing in the trace to indicate any sort of problem with the server. Under a few conditions, I have seen a syslog message similar to, "NFS v2 is broken and not supported, mount request rejected". Obviously, no such message appears when mounting from a non-OpenVZ kernel.

The precreated Fedora 14 kernels are augmented by installing (with YUM) nfs-utils and dependencies. "mount.nfs -V" reports version 1.2.3. A non-OpenVZ Fedora 13 kernel reports version 1.2.2. The precreated CentOS kernel reports version 1.0.9. Thus, the failing versions bracket the working one. To me, this shows the problem is not in the NFS client. It also is clearly not in the NFS server as the non-OpenVZ client succeeds doing the mount. The problem must be external to either the NFS server or the NFS client and must be somewhere in OpenVZ.

Suggestions appreciated.
Re: NFS mount from container to external server [message #43044 is a reply to message #43040] Fri, 08 July 2011 23:03 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
Could you please state the version of your vzctl, vzkernel and OS on the hardware node?

Did you follow the NFS article from the wiki?
Re: NFS mount from container to external server [message #43045 is a reply to message #43044] Fri, 08 July 2011 23:22 Go to previous messageGo to next message
compata
Messages: 4
Registered: July 2011
Junior Member
Ales wrote on Fri, 08 July 2011 19:03
Could you please state the version of your vzctl, vzkernel and OS on the hardware node?


All were installed with YUM in the last week.
vzctl 3.0.28.3
vzkernel 2.6.32-042stab018.1
os Fedora 14 x86_64

Quote:
Did you follow the NFS article from the wiki?


Yes.

Re: NFS mount from container to external server [message #43054 is a reply to message #43045] Mon, 11 July 2011 20:21 Go to previous messageGo to next message
compata
Messages: 4
Registered: July 2011
Junior Member
Please also see Bugzilla #1924.
Re: NFS mount from container to external server [message #43083 is a reply to message #43040] Mon, 18 July 2011 23:02 Go to previous message
compata
Messages: 4
Registered: July 2011
Junior Member
Kinsbursky Stanislav responded via Bugzilla #1924 that, "Sorry, but NFSv2 is not supported in containers." But, although I've asked, I still haven't had any explanation as to why not. Does anyone have any information?
Previous Topic: how to uninstall openvz(centos 5)
Next Topic: HPC Clustering OpenVZ
Goto Forum:
  


Current Time: Sat Aug 02 07:57:39 GMT 2025

Total time taken to generate the page: 0.56952 seconds