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 previous 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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to uninstall openvz(centos 5)
Next Topic: HPC Clustering OpenVZ
Goto Forum:
  


Current Time: Sat Aug 02 16:15:01 GMT 2025

Total time taken to generate the page: 0.50177 seconds