Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Nfs exports preserve user files ownership,existing uid and gid

could you send a user's files into the petasan nfs exports with their existing uid and gid.If it is possible how it will configure in my Nfs exports.

NFS 4 supports kerberos type security with  domain groups and user permissions. It is not currently supported in PetaSAN, we may support it but not in near future. It is also not very common. PetaSAN supports the more common restrictions based on client ip addresses.

 

While copying files from another linux server to my petasan nfs export, that time how to preserve files's uid&gid(ownership) at the destination location(Nfs export).

As per earlier this needs kerberos to provide domain wide user authentication and authorisation. Without it, you will have a uid of example 1003 on host client1 represent a totally different user than uid of 1003 on host client2 and different user on PetaSAN nodes, it will not be possible to authenticate user (validate user with password), or authorise (grant file access based on permissions).