Redhat:NFS Client
Jump to navigation
Jump to search
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 detailIf no output is shown check the status of nfs.
fstab
The fstab file allow NFS shares to be mounted when the system boots up. The example mounts bills home directory onto the client system.
There are several options that can be applied to control how the share is mounted
172.16.1.1:/home/bill /home/bill nfs defaults 0 0Diskless 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