NFS help

brad.mugleston at comcast.net brad.mugleston at comcast.net
Fri Aug 26 21:37:42 UTC 2005


On Fri, 26 Aug 2005, Rick Stevens wrote:

> brad.mugleston at comcast.net wrote:
> > I'm trying again to get an NFS system set up on my home network.
> > The book I have says I need to add to my /etc/fstab file a line
> > like this
> >
> > mailserver:/var/spool/mail /var/spool/mail nfs timeo=20,intr
> >
> > When I do that I get the error
> >
> > mount: can't get address for mailserver
> >
> > and yes the machine I'm looking for is named mailserver.
> >
> > I've had this problem before and ended up getting around it by
> > giving the server a fixed IP but if possible I'd rather not do
> > that (no reason, I'm just trying to learn the correct way).
> >
> > So, any help out there?
>
> "mailserver" must be resolvable, either via DNS or in your /etc/hosts
> file.  In other words, if you can "ping mailserver", you should be
> able to mount it.
>
> If, however, "ping mailserver" ends up in a message such as:
>
> 	ping: Unknown host mailserver
>
> then it ain't resolving.  The error you're seeing is mount_nfs' version
> of "unknown host mailserver".

OK, I understand that - but I've only done /etc/hosts with fixed
IP's.  How does that work with DHCP assigned IP's?




More information about the Redhat-install-list mailing list