Hi, > On 30 Nov 2021, at 21:02, Michal Strnad <michal.strnad@xxxxxxxxx> wrote: > > We are trying to use UID/GID-mapping with cephfs over ceph-fuse client, but we have not succeeded. > > The "module=idmap" option seems not to be supported by ceph-fuse: > ceph-fuse ... /mnt/cephfs -o modules=idmap -o umap=user.map > > fuse: unknown option `modules=idmap' > ceph-fuse[..]: fuse failed to start > > (same with options like "idmap=user" and "uid=1000") only bindfs over ceph-fuse makes the idmap working: ceph-fuse ... /mnt/cephfs > ceph-fuse[..]: starting fuse > > bindfs -o modules=idmap -o umap=user.map /mnt/cephfs /mnt/mapped but it could be slow (especially in high load scenarios). > > Have anybody some idea, how use idmap with ceph-fuse in a better way? Don't know about idmap, but I may suggest: for gid:uid matching (and xtra attrs too) is better to deploy distributed FS only on hosts with AD/LDAP enabled (sss/winbind) Resolving gid:uid is not a CephFS problem, I think... Cheers, k _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx