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