How to check if a NFS share is accessible

Non-Datatex Product Support.
General support issues on PCs and Servers that is related to Datatex products.

Moderators: Leon van Heerden, Luanda_Junzi

How to check if a NFS share is accessible

Postby Leon van Heerden » Tue Apr 03, 2012 5:33 pm

Requirements on Ubuntu Linux:
Packages that must be installed: nfs-common

If you are testing this from a Linux server, you can run the following command to see the shares on the server.
Code: Select all
showmount -e 192.168.1.2

You should see and entry for your share listing who has access to the share:
Code: Select all
Export List for 192.168.1.2:
/MyShare (everyone)


Please note that the share is case sensitive.

Now you need to mount the folder:
Code: Select all
mount -t nfs 192.168.1.2:MyShare /mnt/nfs_mount_location

You should now be able to access the folder if your permissions are configure properly.

If you don't have permission to access the NFS share, you will just get a "Permission Denied" error when you try to enter the mounted folder. Re-check your file system permissions on the NFS server side.
----
Leon van Heerden
http://www.datatex.co.za
Leon van Heerden
 
Posts: 332
Joined: Fri Oct 29, 2010 11:21 am
Location: Cape Town

Return to General Support

Who is online

Users browsing this forum: No registered users and 1 guest