OpenVZ Forum


Home » General » Support » NFSV4 client and CT OpenVZ ( )
NFSV4 client and CT OpenVZ [message #49209] Tue, 09 April 2013 07:10
Zophren is currently offline  Zophren
Messages: 2
Registered: March 2013
Location: France
Junior Member
Hello,

I try to configure NFV4 on a container (CT), i used the container as client.

My configuration (Debian/Lenny):

pve-manager: 1.9-26 (pve-manager/1.9/6567)
running kernel: 2.6.32-6-pve
proxmox-ve-2.6.32: 1.9-50
pve-kernel-2.6.32-4-pve: 2.6.32-33
pve-kernel-2.6.32-6-pve: 2.6.32-55+ovzfix-1
qemu-server: 1.1-32
pve-firmware: 1.0-15
libpve-storage-perl: 1.0-19
vncterm: 0.9-2
vzctl: 3.0.29-3pve1
vzdump: 1.2-16
vzprocps: 2.0.11-2
vzquota: 3.0.11-1dso1
pve-qemu-kvm: 0.15.0-2
ksm-control-daemon: 1.0-6

I would like to use Idmap with NFSV4, to synchronize my account between NFS client and server.

I enable nfs and nfsd features on CT. But i have this message on the log when i try to start nfs-common :

Apr  9 09:03:10 rez10 rpc.idmapd[18504]: libnfsidmap: using domain: rezoo.fr
Apr  9 09:03:10 rez10 rpc.idmapd[18504]: libnfsidmap: processing 'Method' list
Apr  9 09:03:10 rez10 rpc.idmapd[18504]: libnfsidmap: loaded plugin /usr/lib/libnfsidmap/nsswitch.so for method nsswitch
Apr  9 09:03:10 rez10 rpc.idmapd[18505]: Expiration time is 600 seconds.
Apr  9 09:03:10 rez10 rpc.idmapd[18505]: nfsdopenone: Opening /proc/net/rpc/nfs4.nametoid/channel failed: errno 2 (No such file or directory)


I search on google and i don't find a solution. However, i found this => comments.gmane.org/gmane.linux.openvz.user/4640

I extracting the most important :

Quote:
Having said that, only NFS v2 and NFS v3 are supported inside CT.

We are currently working on making NFS v4 work inside containers, but we do it for mainline
kernels rather than in RHEL6 kernel. So whenever we will port OpenVZ to any of 3.3 kernels,
it will most probably have NFS v4 support. RHEL7-based OpenVZ kernel will have it, too.


I successful mount my share in the CT with NFSV4, but idmapd not works.

For your information, NFSV4 + Idmapd works on the root host...

Could you please help me ?


Previous Topic: OpenVZ CentOS 6 IP issues
Next Topic: yum command not found within openvz container
Goto Forum:
  


Current Time: Fri Dec 02 17:28:57 GMT 2022

Total time taken to generate the page: 0.02119 seconds