-   Linux - Networking (
-   -   nfs is a big problem (

tulip4heaven 03-09-2005 01:24 AM

nfs is a big problem
Dear Fellows


I have 2 linux machines , i wanna to share my files using nfs but i m getting some problems

X1 :
x2 :

Assume i m logging on both machine as a root admin

On machine X1 my etc/exports files has the following settings


bravo is my user name and testnfs is a folder in it

now my other machine X2

when i apply following mount command on my machine X2 it give me error

Reason give by server : permisson denied

mount /home/charlie/nfstest

charlie is my user on machine X2 and a folder nfstest is also exist in its home directory.

Is there any help.

waiting for your positive reply

gerardt 03-09-2005 02:31 AM

x1 must allow x2's ip so your exports line should be


in x1 /etc/exports

tulip4heaven 03-09-2005 02:47 AM

Dear Sir,


Thanks for replying,

i changed my export file but it again showing me the same error.

any help


gerardt 03-09-2005 04:38 AM

What Distro are you running? SuSE does a reverse lookup before it will allow mounting. So there must be a host or DNS entry. RH/FC does not

PDock 03-09-2005 07:20 AM

On X1 bravo has a user# uid and a group# gid which are probably different from the uid/gid s of Charlie on X2. The issue really isn't with nfs but your basic file permissions and where you are trying to mount the common directory.

gerardt 03-09-2005 08:02 AM

Very good, nfs works better under a nis or ldap authentication process where all users are located centrally

If you go and change UID's on your systems, don't forget that the file ownerships will change too so you will need to do a chown.

All times are GMT -5. The time now is 12:11 PM.