1833896 Members
2014 Online
110063 Solutions
New Discussion

Re: NFS Problem

 
Gurumanickam
Frequent Advisor

NFS Problem

hi team

i have nfs server(planet)with /data1 filesystem exported to nfs client(moon).
i have mounted the /data1 on moon.
now i'm logging in with the username dba on moon and creating a file name "guru". if i see the permission of file "guru", it's owner and group is showing as dba.

now i going to the nfs server(planet)logging in with root user and if i see the permission of the same file, it's showing the different owner and group.
What may be the possiblity of this problem?
Be an expert
4 REPLIES 4
Calandrello
Trusted Contributor

Re: NFS Problem

Dear this verifies if the NFS as reading and gravacao. the ID of equal usuarios DBA estao in the two you scheme?
john korterman
Honored Contributor

Re: NFS Problem

Hi,

owners and groups are referred to as numeric values, which are mapped to ids via /etc/passwd and /etc/group.
for example is user no. 1 in /etc/passwd mapped to "root".
The mapping in those two mentioned files are problably different on planet and moon!

regards,
John K.
it would be nice if you always got a second chance
Peter Godron
Honored Contributor

Re: NFS Problem

Hi,
the user details on moon and planet do not match.
You have created file "guru" on /data1 on moon as dba.
If you look from planet the numeric id, which is the real identifier of ownership on the file is taken from /etc/passwd on planet.
So for example:
on moon
user dba (id 10) group dba (id 15)
on planet
user fred (id 10) group mail (id 15)
So check your /etc/passwd and /etc /group files on both machines.

Either use/create a common user,use NIS or change permission to 777.


If this answer helped please see:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
MarkSyder
Honored Contributor

Re: NFS Problem

Out of Peter's recommended solutions I would prefer NIS. The user name dba implies database administrator - if this is a db filesystem, I would be very reluctant to make the permissions 777.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing