OpenVZ Forum


Home » General » Support » *RESOLVED* nfs and openvz
Re: SOLVED ** Re: nfs and openvz [message #33299 is a reply to message #14700] Mon, 06 October 2008 09:47 Go to previous messageGo to previous message
ittec is currently offline  ittec
Messages: 41
Registered: February 2008
Member
Hi all

i have same problem. I have experience with OpenVZ but I never tried NFS with VPS. Today was first time. And i couldn't let it runing. My intention is to run NFS server in container if is possible. So I did next steps:

1) I created new VPS
2) With vzyum, installed nfs
# vzyum VPSID install nfs*
3) Setup NFS inside VPS (export, hosts.allow)
4) Inside VPS, tried to run services
# /etc/init.d/portmap
# /etc/initd./nfs

Starting NFS services:                                     [  OK  ]
Starting NFS daemon:                                       [FAILED]


output /var/log/messages
Oct  6 11:43:38 52 nfsd[5290]: nfssvc: No such device


I read this thread and installed a NFS utils on HNode and then restarted VPS without success. When i try to run NFS on HN it happens:

Oct  6 12:21:01 hn10 mountd[31545]: Caught signal 15, un-registering and exiting.
Oct  6 12:21:01 hn10 kernel: nfsd: last server has exited
Oct  6 12:21:01 hn10 kernel: nfsd: unexporting all filesystems
Oct  6 12:21:01 hn10 kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Oct  6 12:21:01 hn10 kernel: NFSD: starting 90-second grace period


IPtables on HN are disabled. And the rest of services works properly.
Kernel is:

Linux 2.6.18-92.1.1.el5.028stab057.2PAE

I checked kernel config file on /boot and nothin is returned

# cat config-2.6.18-92.1.1.el5.028stab057.2PAE |grep "CONFIG_NFDS"


Nothing returned :/

Can anybody give some idea? Do I have to recompile kernel with NFS support? or are there another way ?

Thanks!

[Updated on: Mon, 06 October 2008 10:27]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: VZ not starting automatically
Next Topic: [answered] NFS4 in a VE
Goto Forum:
  


Current Time: Sun Sep 08 15:19:37 GMT 2024

Total time taken to generate the page: 0.05023 seconds