mounting nfs partition at boot.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux