Auto Mounting NFS Shares in /etc/fstab

- 11 Nov 2008

To mount an NFS share using fstab (/etc/fstab) you need to know a few things, the hostname or IP address of the NFS server, the share name and where you intend to mount the share at. Next, add this line to the end of the /etc/fstab file:

[hostname_or_ip]:/[share_name]      /[your_mount_location]     nfs     rsize=8192,wsize=8192,timeo=14,intr     /nfs/backup     nfs     rsize=8192,wsize=8192,timeo=14,intr

When you are done, you can quickly refresh the fstab using the mount command

Related Posts: Extracting Smarty variables from source » Installing vzdump on CentOS 5.4 (32-bit) » Dumping Addresses from phplist » Adding NRPE (Nagios) to CentOS \/ RHEL Servers » Adding the REMI Repository to CentOS / RHEL / RedHat »

comments powered by Disqus