I'm a newbie and couldn't find any information on this.
I was to setup a NFS Server running on my raspberry pi. Can anyone please tell me how to setup that? Also, do I need to overclock my Raspberry pi for it to work properly? Thanks
SirLagz wrote:Pretty similar to the way it is done in this guide
http://www.cyberciti.biz/faq/how-to-ubu ... ion-howto/
Code: Select all
192.168.1.8:/mnt/external /mnt/external nfs _netdev,auto,nolock 0 0I'm using the latest distro available from http://www.raspberrypi.org/downloads, which seems to be the Jul 15th build (2012-07-15-wheezy-raspbian)SirLagz wrote:rpi-update to update the kernel and see how you go ?
Which version of the raspbian wheezy distribution are you using ?
Thanks just did that, nfs server is up and running even though I wasn't able to install portmapper (ignored it as suggested above). I'm now having issues having XBMC on apple TV2 access my NFS directory. I'm using the following /etc/exporters wrote:run rpi-update,
I have this version, and it supports nfs-kernel.
#242 PREEMPT Wed Aug 1 19:47:22 BST 2012
however, i am trying to run it as nfs3+ higher since files over 2gb seems to have wrong file sizes.issue is related to nfs , and I am not sure how can I force nfs to use a higher version in the /etc/exports file.
I tried that but still no go, AppleTV would just not recognize the NFS server running on my raspberry pi. I then decided to try SMB instead and it worked immediately. So for now I'm going to stick with SMB until I can resolve the NFS server issues. Thanks everyone, this forum is a wonderful resource for newbies like meSirLagz wrote:did you run exportfs -r after adding that line ?

Latest kernel available through rpi-update has NFSV4 support.pythoncoder wrote:I now have an NFSV4 server running reliably on the Pi. I rebuilt the kernel using the instructions at
When is this kernel expected to be available in stable? As I understand it rpi-update is bleeding-edge and apt-get update && apt-get upgrade is stable. I don't want to run bleeding-edge but running stable gives me the following kernel which doesn't seem to contain NFSV4 support:dom wrote:Latest kernel available through rpi-update has NFSV4 support.pythoncoder wrote:I now have an NFSV4 server running reliably on the Pi. I rebuilt the kernel using the instructions at
Run thismichaelfackrell wrote:When I run them separately I get this error:
insserv: Service rpcbind has to be enabled to start service nfs-common
What is rcpbind, and how do I enable it?
Sorry if this is a dumb question, I'm new to programming.
Edit: I think I figured it out...looked at another post and tried this:
sudo update-rc.d rpcbind defaults
(Reboot)
sudo apt-get install nfs-kernel-server
Seems to have worked any way to check?
Code: Select all
/etc/init.d/nfs-kernel-server status
How do you (or others with decent speed) have your drive setup? What filesystem? I've tried NTFS and EXT4 on an external USB drive but I/O seems pretty slow. I guess I should try an older, simpler filesystem?pythoncoder wrote:To date it seems reliable, it can handle files much bigger than 2GB and also offers decent performance (7MB/s write, 5.7MB/s read). This is pretty much the most that can be expected of the Pi's 100Mbps network connection.
SirLagz wrote:Run thismichaelfackrell wrote:When I run them separately I get this error:
insserv: Service rpcbind has to be enabled to start service nfs-common
What is rcpbind, and how do I enable it?
Sorry if this is a dumb question, I'm new to programming.
Edit: I think I figured it out...looked at another post and tried this:
sudo update-rc.d rpcbind defaults
(Reboot)
sudo apt-get install nfs-kernel-server
Seems to have worked any way to check?and it will tell you if nfs daemon is running or notCode: Select all
/etc/init.d/nfs-kernel-server status
Code: Select all
/etc/init.d/nfs-kernel-server start