Hi, is there any documentation about mapping usernames, user-ids, groupnames and group-ids between hosts sharing the same CephFS storage? Thanx for any hint, Renne
Hi, I’m facing this issue, too. I haven’t found any satisfying mapping solution so far. Now I’m considering deploying FreeIPA to unify the uid and gid on every host. CephFS does not store user names and group names in the file system as far as I know.
On Oct 6, 2020, at 18:49, René Bartsch <rene.bartsch@zinal-consulting.de> wrote:
Hi,
is there any documentation about mapping usernames, user-ids, groupnames and group-ids between hosts sharing the same CephFS storage?
Thanx for any hint,
Renne
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
hi rene, On 10/6/20 12:48 PM, René Bartsch wrote:
is there any documentation about mapping usernames, user-ids, groupnames and group-ids between hosts sharing the same CephFS storage?
i guess this is a bit outside of the scope of ceph … as with every distributed environment, basically you'll have to make sure that numerical uids/gids get resolved to identical user/group names on every host involved. an appropriate name service switch configuration with a suitable backend (pam_ldap, winbind, …) is the way to go. hth, t.
Hi, On 06.10.20 12:48, René Bartsch wrote:
is there any documentation about mapping usernames, user-ids, groupnames and group-ids between hosts sharing the same CephFS storage?
CephFS is only recording the numeric user ID and group ID in the directory entry. It is up to the client to map that onto user name and group name. What you use for consistent mappings between your CephFS clients is up to you. It could be NIS, libnss-ldap, winbind (Active Directory) or any other method that keeps the passwd and group files in sync. Regards -- Robert Sander Heinlein Support GmbH Schwedter Str. 8/9b, 10119 Berlin https://www.heinlein-support.de Tel: 030 / 405051-43 Fax: 030 / 405051-19 Amtsgericht Berlin-Charlottenburg - HRB 93818 B Geschäftsführer: Peer Heinlein - Sitz: Berlin
participants (4)
-
René Bartsch
-
Robert Sander
-
thoralf schulze
-
胡 玮文