User guide

uNAS/tNASUserGuideVersion1.0 Page54
Function: “NFS share access”
Using this function you activate access to particular share via NFS. In order activate NFS on
uNAS/tNAS server, you must enable usage of NFS in menu “SETUP” ”NAS settings” in
Function NFS settings.
In order to mount this share via NFS, please use following syntax:
mount -t nfs IP_addr:/share/share_name /local_mount_point
Word share is a key word and must be always added to the syntax.
In order to mount a in synchronous mode please use:
mount -t nfs IP_addr:/share/share_name /local_mount_point -o sync
In order to mount a share in asynchronous mode please use:
mount -t nfs IP_addr:/share/share_name /local_mount_point -o async
When using synchronous mode, data is not stored in buffer, but transferred at once. In
asynchronous mode the data is first stored in a buffer and then transferred.
You can use following NFS option fields:
Allow access IP
Please enter an IP or address range that is allowed to access NFS. You can enter single IP or
multiple IP separated with semicolon or IP address range. IP addresses that will not be added
to allow write list will have read only access.
Allow write IP
Please enter an IP or address range that is allowed to write to NFS. You can enter single IP or
multiple IP separated with semicolon or IP address range.
insecure
Allows incoming connection to originate from ports > 1024
synchronous
When this option is enabled, local file system is waiting for the data to be written to the NAS
server. NFS performance will be lowered, however it will ensure that the data will be written
directly to the NAS server and will not be stored in the system cache.
insecure locks
Disables authorization of locking requests. Some NFS clients don't send credentials with lock
requests, and hence work incorrectly with secure locks, in which case you can only lock world-
readable files. If you have such clients you can use the insecure locks option.
all squash
Map all users id to nobody user and all groups id to nogroup group.
no root squash
Please select this option to grant user root from a client machine, the same level of access to
the files on the NAS server. Otherwise user root from a client machine will be mapped to user
nobody on the NAS server. When you leave allow access IP and allow write IP fields blank,
then all computers in subnet will have write access to NFS. When you set allow access and
leave allow write IP field blank, then specified computers will have read only access and none
will have write access. When you set allow write IP without allow access IP, then specified IPs
will have write access and all computers in the subnet will have read only access.
xxx.xxx.xxx.xxx
xxx.xxx.xxx.xxx;xxx.xxx.xxx.xxx; ....
xxx.xxx.xxx.xxx/network_prefix_length.