Search This Blog


NFS Mounts

will store mounts in /etc/exports. This is where all of the configuration options for NFS are specified, as well as authentication information and which allowed IPs.

You can use the exportfs command to add additional mount points or just read the config file from /etc/exports using
exportfs -a

Network Permission - Ensure your client is now in the hosts.deny file located at /etc/hosts.deny

Firewall - Ensure your ports specified in rpcinfo -p are allowed through whatever firewall you are currently using.

Use the showmount command to find which exports the nfs server is publicly exporting to your client
showmount -e [ip_address]

Mounting is done using the mount command
mount -t nfs [ip_address|hostname]:/export/path /local/mount/path

Mac Mount Command:
mount -t nfs -o resvport [ip_address|hostname]:/export/path /local/mount/path

Where resvport
Use a reserved socket port number. This is useful for mounting
servers that require clients to use a reserved port number on the
mistaken belief that this makes NFS more secure. (For the rare
case where the client has a trusted root account but untrustwor-
thy users and the network cables are in secure areas this does
help, but for normal desktop clients this does not apply.)

No comments:

Post a Comment