Page 1 of 1

NFS config problem

PostPosted: Mon Mar 26, 2012 5:47 am
by firwareslut
I am trying to add 192.168.0.0/24 to the NFS configuration panel but it doesn't seem to work. The IP is accepted but not added to the exports list.

===

It seems pretty buggy. Now I tried entering just 192.168.0.199 but the exports list is still blank.

How do I manually configure this? I have tried writing my own /etc/exports but the config is overridden on reboot.

Re: NFS config problem

PostPosted: Mon Mar 26, 2012 7:23 am
by Jocko
Hi Firwareslut,

Your post is strange :scratch
No, the nfs menu doesn't seem pretty buggy...

I did a test on my nwsp2 with the last image and the IP 192.168.0.0/24 is exported !
See my screen capture
nfs_test.jpg


So, the fact that the IP is saved but not exported, seems show that the nfs access is not activated for the relevant share !

For example : if you want export the folder "/share/1000/sharename/test" with the IP address 192.168.0.199, you must enable the nfs access on the share "sharename" !

Note : this feature allows you to disable temporary some NFS accesses without deleting your configuration.

But maybe there is another issue

How do I manually configure this? I have tried writing my own /etc/exports but the config is overridden on reboot.
Now nfs server runs like the ftp server, and when you activate it, exports file is overwritten to be in accordance with the current settings

Othewise, for your question, the answer is in the help file :
Import additional exports file
If you want set specific options, you can add them in the table of files exported using an additional file.
You can enter the full file path (/share/1000/sharename/.../myexportfile) or short path (/sharename/.../myexportfile).

Handling of the additional file by the firmware:

A line is added to the export list if:

-the line has a valid structure and matches one of the two following patterns:

"folder path" IP(NFS options list used), if the folder path contains space chars

folderpath IP(NFS options list used)

-The path folder must exist and be a user sharename or a subfolder of a share

-A valid IP address (see the menu to add an IP address)

Note : If the folder path is already exported for a IP address with the NAS database, the relevant line is overwritten by the additional export file.

Re: NFS config problem

PostPosted: Tue Mar 27, 2012 6:54 am
by firwareslut
Sorry , I am being retarded. I kept checking the delete box when setting fullaccess. Was totally unconscious on my part :D sorry for the confusion!! :please

Re: NFS config problem

PostPosted: Tue Mar 27, 2012 7:12 am
by Jocko
No problem firwareslut, for this confuse. ;)
But perhaps, we must change the column title to prevent the user thinks this one allows to set deleting permissions.

Re: NFS config problem

PostPosted: Tue Mar 27, 2012 8:47 pm
by firwareslut
I think the reason I was checking it was because i subconsciously saw it as a select box. I didnt actually read the delete label. Maybe an X button beside it is clearer.