NFS tutorial - Get the Network File System running

From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 04:54, 30 July 2006 by (Talk)

Jump to: navigation, search

Currently Kernel-NFS is possible on the LS1, LS HG with 2.6-kernel and on the LS2 with the kernel-modules of the stock kernel.

LS1, LS HG (ppc)

Requirements: 2.6-Kernel over andre's webinstaller (kernel modules are included)

Download and untar the package

 cd / 
 tar -xvzf ppc-openlink-2.6-kernel-NFS-V1.tar.gz 
  • modify /etc/exports to your needs
  • start the NFS-kernel server by:

(this is a custom is not that good can just start at the moment...but it works)

  • to check if the server is really running execute:
 rpcinfo -p

if this is working then try rpcinfo -p from a remote workstation (running linux or windows with the "services for unix" installed....only then rpcinfo will b available). there is an entry in /etc/hosts.deny ( portmap: ALL ) that prevents this....

so as long as you do not delete the portmap: ALL entry in /etc/hosts.deny, you have to explicit allow some hosts.

add to hosts.allow

 portmap: <host>

if it also works from a different machine then your NFS-Server is running. the only problem should be configuration now.

TIPS: if you edit /etc/exports while the NFS-Server is running, update the nfs-shares by:

 exportfs -a 

(exportfs only shows the current exports..)

if you need to stop NFS:

 /etc/init.d/nfs-kernel-server stop 
 /etc/init.d/portmap stop 

and restart them again by

 /etc/init.d/portmap start 
 /etc/init.d/nfs-kernel-server start 

to make this start after reboot

 ln -s /etc/init.d/ /etc/rc.d/rc2.d/
  • @dbox & dreambox guys:

here is a good example for how to configure NFS

If we get the 2.6-Kernel running on the Terastation then we have Kernel-NFS there as well Mindbender 20:17, 10 July 2006 (EDT)

LS2 (mips)


  1. NFS-related kernel modules for the stock kernel (2.4.20)

Link.png This article is currently a stub. You can help this Wiki by expanding it

. This template will categorize articles that include it into Category:Stubs.