Re: NFS and name of machine

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

 



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
> 
I believe that for the hostname to work it must resolve either by being
in the hosts file or by DNS.

So the client would at least need the servers host name in /etc/hosts
with proper IP mapping.
 
> You've mentioned adding to your hosts file, but have you tried adding
> both machine names to your hosts files, on both PCs?
> 
> I've not tried using machine names with numbers in them.  I wonder if
> there's an issue related to that?
> 
> -- 
> (Currently testing FC5, but still running FC4, if that's important.)
> 
> Don't send private replies to my address, the mailbox is ignored.
> I read messages from the public lists.
> 

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux