Difference between revisions of "Enable NFS for LS-VL"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m (What is missing?)
(What do you have to do?)
Line 21: Line 21:
 
Change to the root directory.
 
Change to the root directory.
 
   cd /
 
   cd /
Unpack the tarball.
+
Unpack the tarball (replace "disk1" with "array1" if you use a RAID configuration).
 
   tar xvzf /mnt/disk1/share/nfstools.tar.gz
 
   tar xvzf /mnt/disk1/share/nfstools.tar.gz
 
Configure nfsd.
 
Configure nfsd.
 
   [[NFS for Beginners]]
 
   [[NFS for Beginners]]
 
Either reboot the box or just start the nfsd.
 
Either reboot the box or just start the nfsd.
   /etc/rc.d/extensions.d/S98_nfs.sh start
+
   /etc/init.d/nfs.sh start
 
Wait at least one minute before you check for success.
 
Wait at least one minute before you check for success.
   /etc/rc.d/extensions.d/S98_nfs.sh status
+
   /etc/init.d/nfs.sh status
 
It should return this:
 
It should return this:
 
   portmap is running.
 
   portmap is running.

Revision as of 11:50, 18 November 2011

Do I need to install a new kernel?

No you don't.
At least with firmware 1.36, Buffalo already built the kernel with NFSD (NFS version 3) support enabled. Firmware 1.54 is verified to work as well.

What is missing?

The "only" missing stuff are the nfs_utils.
Unfortunately the optware feed for the LS-VL does not contain the complete nfs_utils due to build problems.
Serendipitously (I always wanted to use this word ;-) ) I built the necessary tools and scripts when I built the Ready-to-use NFS kernel. Do not use this kernel for the LS-VL!

You DO need the packages "portmap" and "e2fslibs" from Optware installed! It will not work without!

What do you have to do?

Download this tarball to the share "share":

  http://downloads.buffalo.nas-central.org/Users/kenatonline/NFSKernel/nfstools.tar.gz

Then connect as user "root" to your LS-VL via ssh. Change to the root directory.

  cd /

Unpack the tarball (replace "disk1" with "array1" if you use a RAID configuration).

  tar xvzf /mnt/disk1/share/nfstools.tar.gz

Configure nfsd.

  NFS for Beginners

Either reboot the box or just start the nfsd.

  /etc/init.d/nfs.sh start

Wait at least one minute before you check for success.

  /etc/init.d/nfs.sh status

It should return this:

 portmap is running.
 mountd is running.
 nfsd is running.
 statd is running.
 lockd is running.
 All kernel NFS services running.