Does a mapping exist on the client between username & UID to allow different UID's from different nodes to read and write content to the same Glusterfs volume ?
Issue
-
Does a mapping exist on the client between username & UID to allow different UID's from different nodes to read and write content to the same Glusterfs volume ?
-
Does gluster have feature to club range of UID's to a common UID from different users & nodes ?
Translate-uid: 501-1000=10000, 1000-1999=10001
- Unable to write a file with different UID's on the same gluster volume as,
Server 1:
[root@server1]# id glusteruser1
uid=700(glusteruser1) gid=700(glusteruser1) groups=700(glusteruser1)
[root@server1]# su - glusteruser1
[glusteruser1@server1]$ cd /gluster/data
[glusteruser1@data]$ touch server1_test
[glusteruser1@data]$ ls -alrt
drwxrwxr-x. 3 glusteruser1 glusteruser1 17 Apr 22 2014 ..
drwxrwxr-x. 10 glusteruser1 glusteruser1 4096 Dec 31 12:43 au
drwxrwxr-x. 5 glusteruser1 glusteruser1 39 Jan 5 06:23 nz
-rw-rw-r--. 1 glusteruser1 glusteruser1 0 May 4 10:42 server1_test <<======================
drwxrwxr-x. 4 glusteruser1 glusteruser1 43 May 4 10:42 .
Server 2:
[root@server2]# id glusteruser2
uid=1000(glusteruser2) gid=1000(glusteruser2) groups=1000(glusteruser2)
[root@server2]# su - glusteruser2
[glusteruser2@server2]$ cd /gluster/data
[glusteruser2@data]$ ls -alrt
drwxrwxr-x. 3 prod prod 17 Apr 22 2014 ..
drwxrwxr-x. 10 prod prod 4096 Dec 31 12:43 au
drwxrwxr-x. 5 prod prod 39 Jan 5 06:23 nz
-rw-rw-r--. 1 prod prod 0 May 4 10:42 server1_test <<===================
[glusteruser2@data]$ touch server2_test
touch: cannot touch `server2_test': Permission denied
Environment
- Red Hat Gluster Storage 3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.