Yes, but when I change the address to its name, like this:
     pc005:/home/rep-export    /home/rep-import    nfs    defaults    0 0
it gives me an error: mount to NFS server "pc005" failled
!!!

 
----- Original Message -----
From: Kip Thomas
To: For users of Fedora
Sent: Friday, November 17, 2006 9:29 PM
Subject: Re: NFS and name of machine

192.168.1.5:/home/rep-export    /home/rep-import    nfs    defaults    0 0

you may want to change it to the name

On 11/17/06, L A < alilou_linux@yahoo.fr> wrote:
Hi evrybody,
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

There is no error is added to the /var/log/messages file.
Apparently, the problem is that my PC does'nt recognize the name of the server (pc005). (but ping pc005 works fine!).
I have added in /etc/hosts this line:
 192.168.1.5   pc005
but the problem persists.

Do you know what must I do
to resolve this problem.


Thnx.
Lil



Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.


Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list