NFS and name of machine

Erich Carlson computerperceptions at coxinet.net
Fri Nov 17 23:45:25 UTC 2006


On Sat, 2006-11-18 at 10:09 +1030, Tim wrote:
> On Fri, 2006-11-17 at 18:00 +0100, L A wrote:
> > I have 2 machines under FC5. I'm trying to configure NFS (Network File
> > System) between these 2 machines (client=pc006, server=pc005). 
> > So, I have added this in /etc/fstab and in /etc/exports:
> > /etc/fstab:
> > #pc005:/home/rep-export         /home/rep-import    nfs    defaults    0 0
> > 192.168.1.5:/home/rep-export    /home/rep-import    nfs    defaults    0 0
> > 
> > /etc/exports:
> > /home/rep-export    *(rw,no_root_squash)
> > 
> > ==> When I use in the client the "IP address" of the server, it works
> > very fine, but when I put the "name" of the server at the place of
> > this IP address it generate this error:
> >     mount -a
> >     mount to NFS server "pc005" failled
> 
This is a working example. Might help you debug your condition:

http://www.computerperceptions.net/nfs/

erich






More information about the users mailing list