NFS Query

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat NFS Query
# 1  
Old 04-28-2011
Question NFS Query

Hi,

My query is on NFS,

I have shared the /test folder on Server A, whose owner is user "A" uid=101, gid=202

and mounted on Server B as /test1, whose owner is "A" uid=204, gid=204,

Now My query is if uid and gid of users of both servers are different how user A will have full access to /test mounted as /test1 directory on Server A.

As per my understanding I have to keep uid and gid of users of both the servers same

only then user A which is on server B have full access for /test directory,

wheather any other solution is there without keeping uid and gid same of both users which is created on SErver A and Server B?


Kindly suggest.


Regards,

Manoj
# 2  
Old 04-29-2011
Try looking into the uid= and gid= in fstab nfs options.

Assuming you are on ServerB and adding the entry into the fstab...
Example fstab line:
Code:
ServerA:/test1    /test    nfs        uid=101,gid=202        1    0

Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

NFS write error on host xyz: Stale NFS file handle - Solaris 10

Oct 13 12:19:15 xyz nfs: NFS write error on host xyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: (file handle: 68000000 1bc5492e 20000000 377c5e 1ce9395c 720a6203 40000000 bdfb0400) Oct 13 12:19:15 xyz nfs: NFS write error on host zyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: ... (5 Replies)
Discussion started by: psychocandy
5 Replies

2. Shell Programming and Scripting

Mount NFS Share On NFS Client via bash script.

I need a help of good people with effective bash script to mount nfs shared, By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people. The scenario as follow: An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies

3. AIX

AIX NFS Server and NFS Client

Hi 2 ALL, try to run NFS Server in AIX 7.1 : 1. Step by step on NFS Server node mkdir /tmp/test chgrp staff /tmp/test chmod 775 /tmp/test-- create export directory (fs) mknfsexp -d /tmp/test -t ro exportfs -va show mount -e :/# exportfs -av exports: 1831-187 re-exported /tmp/test... (4 Replies)
Discussion started by: penchev
4 Replies

4. Red Hat

NFS mounts query

We have 2 servers in cluster. Node1 has an ext3 mount for backups and the other connects using NFS to this node1. I believe the reason it is configured in this manner is to not duplicate backups since this is a Database server. Not sure this was the reason though. Right now if node1 goes down all... (5 Replies)
Discussion started by: ikn3
5 Replies

5. Solaris

Solaris 9 as a nfs client -- centos as a nfs server.

Hello, I have a centos as nfs server, its name is centos_A. After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/* But, My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Discussion started by: bruceharbin
1 Replies

6. AIX

nfs query

Hi, I have shared the file system and given access to 2 clients Examples client A client b but after sharing and mounting on client side when i am issue command share it is showing me only single ip of client A , it does.nt showing me ip address of client b and After mouting as RW ,... (6 Replies)
Discussion started by: manoj.solaris
6 Replies

7. Solaris

All dependicies of nfs service is online but nfs is offline

Hi all in my server all nfs dependices are online but nfs client is offline root@BIWAPP1 # svcs -a|grep nfs disabled Sep_05 svc:/network/nfs/server:default online Sep_05 svc:/network/nfs/rquota:default online Sep_05 svc:/network/nfs/mapid:default online ... (9 Replies)
Discussion started by: spandhan
9 Replies

8. Solaris

Query regarding NFS Mount...

hi All, This is the first time that i would be doing a NFS mount. Its solaris 10 machine on which i would be doing this. Can any of you gurus help me with the steps that should be taken. (3 Replies)
Discussion started by: sankasu
3 Replies

9. Solaris

NFS write error on host : Stale NFS file handle

:confused:Hi all When i see in the /var/adm/messages, i saw the following error unix: NFS write error on host : Stale NFS file handle. unix: (file handle: 45ca415 3e7 a0000 2c7f6 3ebfc25f a0000 2 3e49) It is using sunOS 5.7. Is anybody know what is this error? Is is related to any network... (2 Replies)
Discussion started by: AirWalker83
2 Replies
Login or Register to Ask a Question