OpenVZ Forum


Home » General » Support » NFS vz container : "sunrpc.ve_allow_rpc" is an unknown key
NFS vz container : "sunrpc.ve_allow_rpc" is an unknown key [message #39817] Sat, 05 June 2010 04:12 Go to next message
reed is currently offline  reed
Messages: 2
Registered: June 2010
Junior Member
hello:
my NFS server and client both in VE. server has been started.but NFS client can not mount to server Crying or Very Sad

this is my software :
CVMopvz nfs # vzctl --version
vzctl version 3.0.22

CVMopvz nfs # uname -a
Linux CVMopvz 2.6.27-openvz-briullov.1-r2 #2

and my error like this:

nfs / # mount -v -t nfs nfs.xxxx.com:/ /mnt/nfs/
mount.nfs: timeout set for Fri Jun 4 10:55:10 2010
mount.nfs: text-based options: 'addr=192.168.0.2'
mount.nfs: mount(2): No such device
mount.nfs: No such device

and i want add kernel NFS support to a container :

sunrpc.ve_allow_rpc = 1
fs.nfs.ve_allow_nfs = 1
kernel.ve_allow_kthreads = 1
adding the above lines into /etc/sysctl.conf on the hardware node, and then running sysctl -p.
CVMopvz mnt # sysctl -p
net.ipv4.ip_forward = 1
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
error: "sunrpc.ve_allow_rpc" is an unknown key
error: "fs.nfs.ve_allow_nfs" is an unknown key
kernel.ve_allow_kthreads = 1


and i use follow command find:

CVMopvz fs # find /proc -type f -iname 've_*'
/proc/sys/kernel/ve_meminfo
/proc/sys/kernel/ve_allow_kthreads

can not find files "ve_allow_rpc" "ve_allow_nfs",how can i do?I need your help,Thanks Smile

[Updated on: Tue, 22 June 2010 01:51]

Report message to a moderator

Re: NFS vz container : "sunrpc.ve_allow_rpc" is an unknown key [message #39823 is a reply to message #39817] Mon, 07 June 2010 03:42 Go to previous messageGo to next message
wolvesled is currently offline  wolvesled
Messages: 6
Registered: April 2008
Junior Member
1. which document you follow?
2. what nfs you use?
3. please paste your nfs mapping file at server side
Re: NFS vz container : "sunrpc.ve_allow_rpc" is an unknown key [message #39830 is a reply to message #39823] Tue, 08 June 2010 03:20 Go to previous message
reed is currently offline  reed
Messages: 2
Registered: June 2010
Junior Member
hi Smile
1, follow this: http://wiki.openvz.org/NFS_server_inside_container
2, unfs3
3, # /etc/exports: NFS file systems being exported. See exports(5).
#/home/reed
/home/reed 192.168.0.9(rw,all_squash)
need anything else Smile ?

[Updated on: Tue, 22 June 2010 01:49]

Report message to a moderator

Previous Topic: About Building Openvz from Source
Next Topic: About Network Configuration
Goto Forum:
  


Current Time: Sun Jul 14 05:59:40 GMT 2024

Total time taken to generate the page: 0.02286 seconds