[CentOS] mounting nfs partition at boot.

Mon Sep 12 00:07:02 UTC 2005
Sean O'Connell <oconnell at soe.ucsd.edu>

On Sun, 2005-09-11 at 13:54 -0700, Ajay Sharma wrote:
> This seems like another basic question because I always assumed that if 
> I threw something in my /etc/fstab then it will be automatically mounted 
> at boot time (unless I put in the 'noauto' option).
> 
> But my NFS partition isn't getting mounted, here's the excerpt from my 
> /etc/fstab file, split on the whitespace so it's easier to read:
> 
> nfs_server:/exports/var/www
> /var/www
> nfs
> rsize=8192,wsize=8192,timeo=14,intr
> 
> After the server comes up, I can do a simple, 'mount -a' and the 
> partition is alive.  Do I need to use something like autofs?  I figured 
> I wouldn't need that since there's no reason to unmount this partition.

Ajay-

You'll want to toss a 0 0 on the end of that.

nfs_server:/exports/var/www /var/www nfs rsize=8192,wsize=8192,timeo=14,intr 0 0

Sean