Enable NFS for LS-VL

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search

[Update 24.12.2011]: There was a bug in the nfs.sh script preventing the mountd to start successfully if the optware library path was not included in the .profile to the LD_LIBRARY_PATH.

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" (if you downloaded it before 24.12.2011, do it again!):


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.