We use cookies to help us improve our webpage. Please read our Cookie Policy .

Knowledge Base

File Sharing »

Q: How do I access files on my NAS from within my local network via NFS?

2021-04-27





In order to access files on your NAS via NFS you will first have to enable NFS service before connecting to it. Please follow the steps below to enable NFS service.


Enabling NFS service on Your NAS


1. Log into ADM and then select [Services] -> [NFS]. Select the [Enable NFS service] checkbox and click [Apply]. Click on the provided link to configure NFS privileges.



2. The Shared Folders section should now be visible. Select a folder (in our example, “Public”) and then click on the [Access Rights] button. Then click on the [NFS Privileges] tab.


http://www.asustor.com/images/kindeditor/image/20160711/20160711141841_63534.jpg

3. Click the [Add] button in order to add IP addresses that you wish to allow access via NFS. Once you are finished, click [OK].


You are now ready to connect to your NAS using via NFS. Please follow the steps outlined below to connect to your NAS.

Connecting via NFS

1.   In the Linux command prompt, enter the following command:

mount -t nfs:/

For example, if the IP address of your NAS is 192.168.1.104, you must mount the “Public” network drive to Linux’s /mnt/pub directory, then enter the following command:

mount -t nfs 192.168.1.104:/volume1/Public  /mnt/pub


http://www.asustor.com/images/kindeditor/image/20160325/20160325102303_53735.png


Note: You must be logged in using the root account in order to mount a network drive.


You can also refer to our college course about NFS mount:

https://www.asustor.com/en-gb/online/College_topic?topic=109#23


Was this article helpful? Yes / No