Anonymous_uid & Anonymous_gid options can used in EXPORT {} block to set
anonuid/anongid [1]
Thanks,
Soumya
[1]
https://github.com/nfs-ganesha/nfs-ganesha/blob/next/src/config_samples/config.txt#L210
On 10/30/2017 09:43 PM, William Allen Simpson wrote:
On 10/30/17 3:56 AM, Nitesh Sharma wrote:
Do you have any idea about nfs-ganesha UID and GID mapping
The developer's list might....
What version are you using?
How can I map this entry in nfs-ganesha export which is above CephFS
/mnt/tvault_automation *(rw,all_squash,anonuid=65534,anongid=65534)
My sample file is
=================================
root@d00-0c-29-05-b8-ca:~ # cat /etc/ganesha/ganesha.conf
EXPORT
{
Export_Id = 1; # Each export needs to have a unique 'Export_Id'
(mandatory)
Path = "/"; # Export path in the related CephFS pool (mandatory)
Pseudo = "/"; # Target NFS export path (mandatory for NFSv4)
Access_Type = RW; # 'RO' for read-only access, default is 'None'
#Squash = No_Root_Squash; # NFS squash option
Squash=All, All_Squash, AllSquash, All_Anonymous, AllAnonymous;
FSAL { # Exporting 'File System Abstraction Layer'
Name = CEPH; # Ganesha backend, 'CEPH' for CephFS or 'RGW' for
RADOS Gateway
}
}
===================================
--
Thanks and Regards,
*Nitesh Sharma.*
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel