<div dir="ltr"><div><font face="arial, sans-serif">Hi,</font></div><div><pre style="color:rgb(0,0,0)"><font face="arial, sans-serif">I am looking to have rootsquashing feature on lustre. As part of it, I
noticed we have 2 potential ways of doing it.
1. Setting the root_squash params for all MDTs (Can be done using lctl conf_param). We also have the nosuash_nids param too which we can set to provide root access to desired clients.
2. Using  nodemap feature to enforce root squash and as part of it,
creating a trustedSystems node map_group for all the lustre server_nids
and set the admin and trusted properties. And later removing the admin and
trusted properties for default nodemap group and squash the UID and GIDs.

When checked on latest lustre manual, it recommends the nodemap way, Can
someone help understand what are the pros and cons of these 2 ways ?

Also have a question around nodemap, As part of node map feature, we need to add all the lustre server_nids. what would be the consequences/behaviour of FS if we do not add all
the lustre server_nids into trustedSystems group ?

</font></pre></div><div><font face="arial, sans-serif">Thanks,</font></div><div><font face="arial, sans-serif">Theja</font></div></div>