Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Tue Jan 16, 2018 6:04 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Sat Oct 27, 2012 3:30 am 
Offline
Total Newbie

Joined: Sat Oct 27, 2012 2:48 am
Posts: 3
Hi,
I have a TeraStation Live (HS-DHTGL/R5 2.14) and I would like to enable NFS server support. I used the acp_commander to open the firmware and enable SSH. Then I followed instructions on http://forum.buffalo.nas-central.org/viewtopic.php?f=19&t=4075&p=39162#p39162 to enable Optware package management and used it to install SVN support and NFS-UTILS. SVN is working great but although NFS Client functionality works fine, I can not get the TeraStation NFS server functionality working. The package installs but I can't circumvent permission error messages: don't think is a permissions issue although, perhaps I am still missing something. I have checked /etc/exports and /etc/hosts.allow and /etc/hosts.deny just in case. The ipkg install nfs-utils also installs dependencies, I understand and portmap is running.

Do I need to do anything else to get the NFS server functionality working? Is there an proven alternative way to get NFS Server support? I have read in this forum that I may need to recompile the kernel (daunting task for my level of linux expertise, would like to make sure I need to do so before trying to do it (I don't want to brick my TS trying to get NFS working).

Any help/direction would be greatly appreciated.


Top
   
PostPosted: Sat Oct 27, 2012 6:11 am 
Offline
Moderator

Joined: Fri Jun 29, 2007 10:39 am
Posts: 2604
Check your /proc/fs for nfs.
Should look like this:http://forum.buffalo.nas-central.org/viewtopic.php?p=150903#p150903

_________________
Please do not use private mail (PN/M) to ask questions. Use the proper forum instead. (me)

If there is no verified backup of a dataset, the dataset, by definition, is unimportant. (c't 2012)

RAID (no matter which level) never ever substitutes a backup. (me)


Top
   
PostPosted: Sat Oct 27, 2012 8:13 pm 
Offline
Total Newbie

Joined: Sat Oct 27, 2012 2:48 am
Posts: 3
Hi Kenatonline,
Thanks for replying so fast! Here is my output from "ls -l /proc/fs/*
Code:
root@HS-DHTGL66E:~# ls -l /proc/fs/*
/proc/fs/nfsd:

/proc/fs/xfs:
-r--r--r--    1 root     root            0 Oct 27 14:03 stat
root@HS-DHTGL66E:~#

Here is my exports file:
Code:
root@HS-DHTGL66E:~# cat /etc/exports
/mnt/array1/Images *(rw,sync,no_root_squash,no_subtree_check)

And here is the message I get when I try to export a directory:
Code:
root@HS-DHTGL66E:~# mount 192.168.1.105:/mnt/array1/Images tmp
mount: 192.168.1.105:/mnt/array1/Images failed, reason given by server: Permission denied
root@HS-DHTGL66E:~#

Reading your referenced post, you installed using a tar, should I try that method instead of ipkg install nfs-utils?
Thanks again, I await your advice.


Top
   
PostPosted: Sun Oct 28, 2012 7:34 am 
Offline
Moderator

Joined: Fri Jun 29, 2007 10:39 am
Posts: 2604
You need to understand the way NFS is working.
There has to be a NFS server on the box exporting the filesystem
(the TS in your case).
There are several possibilities to get a NFS server onto a box.
In the X86 world, nearly every kernel you can get from any distribution
has NFS compiled right into the kernel. You only need the package
nfs-utils to get it running.
The LS boxes had kernel nfs introduced somewhen after firmware 1.4x
(if I remember correctly). Before this, one had to use a own, homebaked
kernel.
Another way to get a NFS server onto a box, are userland (read: non
kernel based) packages like unfs3.
They have some filesize (older versions) or performance drawbacks, but
are usable.

According to your proc/fs output, your kernel has NO NFS compiled into,
IF you started ALL the stuff from nfs-utils.
So the installation of the nfs-utils has not "healed" this fact. Neither will the
tar, referenced in my post. Both depend on a NFS enabled kernel.

Try to get a kernel for your TS with NFS support compiled into, or get
Optware and the unfs3 package and life with the (small) limitations.

Btw. I have no clue, if there is a NFS enabled kernel for the TS model you
have. Maybe someone else?

_________________
Please do not use private mail (PN/M) to ask questions. Use the proper forum instead. (me)

If there is no verified backup of a dataset, the dataset, by definition, is unimportant. (c't 2012)

RAID (no matter which level) never ever substitutes a backup. (me)


Top
   
PostPosted: Sun Oct 28, 2012 9:09 pm 
Offline
Total Newbie

Joined: Sat Oct 27, 2012 2:48 am
Posts: 3
Hi Kenatonline,
Thanks again for replying. I guess I am out of luck. Installing unfs3 does not seem to work either and I have not found a kernel with NFS support for the TS Live anywhere. I am researching how to cross-compile the kernel, maybe I will try it if I find sufficient pointers to venture into it. None the less, thanks so much for your comments and taking time to respond.


Top
   
PostPosted: Sun Nov 09, 2014 9:32 pm 
Offline
Total Newbie

Joined: Sun Nov 09, 2014 9:06 pm
Posts: 1
This might be an old thread, but I got unfs3 working on a TeraStation Live. I was able to install unfs3 from ipkg after bootstrapping optware after reading mindbender's post "http://forum.buffalo.nas-central.org/viewtopic.php?f=22&t=4351"

I was getting the "Cannot register service: RPC: Unable to receive; errno = Connection refused
" errors when trying to start unfs until I installed portmap. Advice came from this thread in the openwrt forums.
https://forum.openwrt.org/viewtopic.php?id=11847


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited