Test if an NFS server is accessible

From Linuxintro
Revision as of 11:49, 21 August 2011 by imported>ThorstenStaerk (Created page with "To test if an NFS server is accessible, use the command showmount. To do this, open a console and enter # showmount -e ''localhost'' in this case ''localhost'' w...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

To test if an NFS server is accessible, use the command showmount. To do this, open a console and enter

# showmount -e localhost

in this case localhost will be queried for NFS shares ("exports") that it provides.

In case the nfs service is not started you might get the following error message:

clnt_create: RPC: Program not registered

Stupid error message, right? Anyway after starting the NFS service, you will find an output telling you what is available via NFS like this:

# showmount -e localhost
Export list for localhost:
/public *

See also