Setting up NFS server on Gentoo

Posted by StackedCrooked on Super User See other posts from Super User or by StackedCrooked
Published on 2010-06-09T13:47:20Z Indexed on 2010/06/09 13:53 UTC
Read the original article Hit count: 330

Filed under:
|
|

I'm trying to set up an NFS server on a Gentoo VM. I've installed nfs-utils-1.2.2 and added the following line to the /etc/exports file:

/root/svn 10.0.0.0/255.0.0.0(rw,sync,no_subtree_check)

However, when I try to start the nfs service I get the following errors:

gentoo-amd64-francis orig # /etc/init.d/nfs start
FATAL: Could not load /lib/modules/2.6.24-9-pve/modules.dep: No such file or directory
 * Exporting NFS directories ...                                                          [ ok ]
 * Starting NFS mountd ...                                                                [ !! ]
 * Starting NFS daemon ...                                                                [ !! ]
 * Starting NFS smnotify ...                                                              [ ok ]

It complains about not finding the /lib/modules/2.6.24-9-pve/modules.dep file, but the /lib/modules directory doesn't even exist on this machine.

Can anyone help me getting it to work?

© Super User or respective owner

Related posts about linux

Related posts about gentoo