Difference between revisions of "Redhat:NFS Client"

From Define Wiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
== NFS Mount Options ==
 
== NFS Mount Options ==
 +
 +
The first thing to check is the list of currently mounted directories.  The showmount command is used for this.
 +
 +
<syntaxhighlight>
 +
showmount # list mount directories on the client system
 +
showmount -d <servername> # list exported directories from server
 +
showmount -e <servername> # list exported directories from server with extra detail
 +
</syntaxhighlight>
 +
 +
If no output is shown check the status of nfs.
  
 
== fstab ==
 
== fstab ==

Revision as of 13:07, 25 August 2013

NFS Client

NFS Mount Options

The first thing to check is the list of currently mounted directories. The showmount command is used for this.

showmount # list mount directories on the client system
showmount -d <servername> # list exported directories from server
showmount -e <servername> # list exported directories from server with extra detail

If no output is shown check the status of nfs.

fstab

Diskless Clients

Soft Mounting

Client NFS Status

The files documenting the current status of the NFS client are generally found in two directories:

  • /var/lib/nfs
  • /proc/fs/nfsd

The two main files to check are:

  • etab - full description of mounted directories
  • rmtab - state of mounted shares