having a normal user mount nfs filesystem

Peter Garrett peter.garrett at optusnet.com.au
Sun Feb 4 03:06:52 UTC 2007


On Sat, 03 Feb 2007 20:53:18 -0600
Linda Hanigan <haniganwork at earthlik.net> wrote:

> > > I have been mounting our nfs with
> > > mount 192.168.1.3:/usr/local/lib/letters /usr/local/lib/letters
> > 
> > To allow users to mount nfs try a line like something like this in /etc/fstab :
> > 
> > hostname:/home/foo  /mount-point/nfs-foo   nfs   noauto,users,rw,hard,intr 0 0
> > 
> 
> Will it hang at boot if the server is down so the nfs is unavailable if
> I add this to fstab? I assume it would be okay since it doesn't actually
> mount it. Just asking because some of the stuff I read as options could
> create a system lock if the server was down.

It shouldn't hang - notice  that the "noauto" option is included, so the
system will not try to mount the nfs share on boot. I use nfs between my
laptop and desktop with a line almost exactly like this, and the laptop or
desktop boot quite happily and independently :)

Not sure what happens with mounting /usr/local/foo as far as permissions
to mount/umount are concerned, and whether you want "rw" permissions
rather than "ro" - you might want to look at the tldp nfs howto at

http://tldp.org/HOWTO/NFS-HOWTO/index.html

Peter




More information about the ubuntu-users mailing list