OpenVZ Forum


Home » General » Support » [solved] Can't mount NFS partitions from the HN
[solved] Can't mount NFS partitions from the HN [message #33795] Mon, 10 November 2008 16:26 Go to previous message
silentninja is currently offline  silentninja
Messages: 37
Registered: September 2007
Member
I've followed this tutorial...
http://wiki.openvz.org/NFS

And now the NFS Server does work, I'm sharing one folder (webserver-home):

[root@webserver /]# rpcinfo -p 192.168.0.25
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp    626  status
    100024    1   tcp    629  status


But the fact is that on the VE I cannot mount it, and the nfs service refuses to start:

[root@webserver /]# mount -v -t nfs -o rw,vers=3,rsize=32768,wsize=32768,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=192.168.0.25 192.168.0.25:/mnt/webserver-home /home
mount: mount to NFS server '192.168.0.25' failed: RPC Error: Program not registered.


[root@webserver /]# service nfs restart  
Shutting down NFS mountd:                                  [FAILED]
Shutting down NFS daemon:                                  [FAILED]
Shutting down NFS services:                                [FAILED]
Starting NFS services:                                     [  OK  ]
Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno = Connection refused
rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp).
[FAILED]
Starting NFS daemon:                                       [FAILED]


[root@webserver /]# rpcinfo -p localhost   
rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused

[root@webserver /]# modprobe nfs
FATAL: Could not load /lib/modules/2.6.18-92.1.13.el5.028stab059.3/modules.dep: No such file or directory


This is the info of the HN:
[root@localhost ~]# vzctl --version
vzctl version 3.0.22

[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-92.1.13.el5.028stab059.3 #1 SMP Wed Oct 15 13:33:44 MSD 2008 x86_64 x86_64 x86_64 GNU/Linux

[root@localhost ~]# cat /etc/*release
CentOS release 5 (Final)

[root@localhost ~]# cat /etc/exports 
/mnt/webserver-home	192.168.0.35(rw,no_subtree_check)


(HN is .25 and VE is .35)

[Updated on: Tue, 11 November 2008 09:10] by Moderator

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: Limiting CPU for tasks on HN ?
Next Topic: Unregister_netdevice and ram usage
Goto Forum:
  


Current Time: Tue Nov 05 01:22:15 GMT 2024

Total time taken to generate the page: 0.03256 seconds