News:

Buffalo provides Data Recovery services. Read about it here.

Main Menu

NFS mount permission denied - Fix

Started by michaelmc, December 17, 2009, 11:33:58 PM

Previous topic - Next topic

michaelmc

   

Hi Folks,

 

Figured out why I kept getting permission denied messages when trying to mount an NFS export from my TeraStation TS-X4.0TL/R5 v1.10

 

The key is to look carefully at the output from the "showmount -e xxx.xxx.xxx.xxx" command (where x is the IP address of your TeraStation.

 

In the web gui for the NFS server (Network -> NFS -> NFS Service),  you must have the proper settings for Network Address and Subnet Mask that will include your NFS-client-system. Not the address of the TeraStation.  For Example:

 

TeraStation IP is 172.17.100.19  with subnet mask of 255.255.255.0

The NFS-Client IP is 172.16.200.50 with a subnet mask of 255.255.255.0

 

To get the NFS mount to work I had to put the following into the Web GUI of the TeraStation:

 

NFS: Enabled

Network Address: 172.0.0.0

Subnet Mask: 255.0.0.0

 

This allows any NFS Client with an IP address that starts with 172.x.x.x to be able to mount the exported file system. As seen by the output of the "showmount -e" command below:

# showmount -e 172.17.100.19

Export list for 172.17.100.19:
/mnt/array1/TSB 172.0.0.0/255.0.0.0

 

Hope this helps some of you out there that were confused by the documentation for that section of the Web GUI.

 

Note: Still have to work around the lack of ownership (UID/GID) setting on the NFS exports. For now just using the TeraStation to hold tarballs and files that we don't care about ownership/permissions. Hope Buffalo gets a fix for this, so it can truly say that it supports NFS 100%. Allowing an advaced tab to directly control the /etc/exports file would be a great start. :smileywink:

 

 


Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 5: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default), StopForumSpam.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 110 (show)
Files included: 35 - 1354KB. (show)
Memory used: 933KB.
Tokens: post-login.
Queries used: 16.

[Show Queries]