Chris Schuld's Blog

personal musings on the composition of software

Written By: Chris Schuld Tuesday, November 11th, 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
10.0.0.50:/backup     /nfs/backup     nfs     rsize=8192,wsize=8192,timeo=14,intr

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

Categories: Linux

Leave a Reply

About Chris

Chris Schuld

Thank you for visiting my website. I use this site for a myriad of things: maintaining software I have open sourced, connecting with my readers and friends and documenting all of this little things "I wished I would have written down." You can read more about me or contact me.


thanks for visiting... happy coding

Recent Comments