The NFS client service checks the FSTAB file for NFS file systems and mounts them. As long as the NFS client service is configured to start on boot, NFS file systems are automatically mounted on startup.
The FSTAB option make the mounted file system read and write, are not dumped, and are not checked at reboot.
Create a mount point directory; for example, /export/backup.
# mkdir -p /export/backup
Create the entry in the FSTAB file (/etc/fstab).
This example uses these parameters:
The resulting FSTAB file looks as follows:
- NFS server: nfsserver
- NFS share on the server: /data/col1/backup/tdbackup
- Mount point on client: /export/backup
# device mountpoint fs-type options dump fsckorder ... nfsserver:/data/col1/backup/tdbackup /export/backup nfs rw 0 0 ...
To mount the system, manually start the NFS service:
# service nfs start
If necessary, start the rpcbind service:
service rpcbind start
Configure the NFS service to start on boot:
# chkconfig nfs on