<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="color: rgb(0, 0, 0);"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt;">>
</span><span style="font-family: Helvetica; font-size: 12px;">Can someone help understand what are the pros and cons of these 2 methods ?</span></div>
<div class="elementToProof" style="font-family: Helvetica; font-size: 12px; color: rgb(0, 0, 0);">
One is the legacy one and deprecated.</div>
<div class="elementToProof" style="font-family: Helvetica; font-size: 12px; color: rgb(0, 0, 0);">
The new one (using nodemap) provides the same features and even more.</div>
<div class="elementToProof" style="font-family: Helvetica; font-size: 12px; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Helvetica; font-size: 12px; color: rgb(0, 0, 0);">
I see very little interest in sticking to the old one, and putting you at risk that this is not even supported in the future (very far future though)</div>
<div class="elementToProof" style="font-family: Helvetica; font-size: 12px; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Helvetica; font-size: 12px; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Helvetica; font-size: 12px; color: rgb(0, 0, 0);">
Aurélien</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De :</b> lustre-discuss <lustre-discuss-bounces@lists.lustre.org> de la part de Ravi Theja Reddy <ravithejareddy99@gmail.com><br>
<b>Envoyé :</b> mardi 12 novembre 2024 17:09<br>
<b>À :</b> lustre-discuss@lists.lustre.org <lustre-discuss@lists.lustre.org><br>
<b>Objet :</b> [lustre-discuss] Using rootsquashing on lustre</font>
<div> </div>
</div>
<div>
<table bgcolor="#FFEB9C" border="1">
<tbody>
<tr>
<td><font face="verdana" color="black" size="1"><b>External email: Use caution opening links or attachments</b>
</font></td>
</tr>
</tbody>
</table>
<br>
<div>
<div dir="ltr"><font color="#000000" style="background-color:rgb(243,243,243)"><span style="font-family:Helvetica; font-size:12px">Hi Lustre experts, </span><br style="font-family:Helvetica; font-size:12px">
<br style="font-family:Helvetica; font-size:12px">
<span style="font-family:Helvetica; font-size:12px">I am looking to enable rootsquashing feature on lustre. As part of it, I noticed we have 2 potential ways of doing it.</span><br style="font-family:Helvetica; font-size:12px">
<span style="font-family:Helvetica; font-size:12px">1. Using tunefs.lustre cmd on MDS servers.</span><br style="font-family:Helvetica; font-size:12px">
<span style="font-family:Helvetica; font-size:12px">2. Using nodemap feature to enforce root squash and as part of it, creating a trustedSystems node map_group to all 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.<span class="x_gmail-Apple-converted-space"> </span></span><br style="font-family:Helvetica; font-size:12px">
<br style="font-family:Helvetica; font-size:12px">
<span style="font-family:Helvetica; font-size:12px">When checked on latest lustre manual, it recommends the node map way, Can someone help understand what are the pros and cons of these 2 methods ?</span><br style="font-family:Helvetica; font-size:12px">
<br style="font-family:Helvetica; font-size:12px">
<span style="font-family:Helvetica; font-size:12px">And as part of node map feature, we need to add all the lustre server_nids. Also have a question what would be the consequences if we do not add all the lustre server_nids into trustedSystems group ?</span><br style="font-family:Helvetica; font-size:12px">
<br style="font-family:Helvetica; font-size:12px">
<span style="font-family:Helvetica; font-size:12px">Thanks for the input.</span><br style="font-family:Helvetica; font-size:12px">
<span style="font-family:Helvetica; font-size:12px">Regards,</span><br style="font-family:Helvetica; font-size:12px">
<span style="font-family:Helvetica; font-size:12px">Theja</span></font></div>
</div>
</div>
</body>
</html>