<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Aptos;
        panose-1:2 11 0 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">&gt;&gt; There is also a feature to allow specifying &quot;-p u:username&quot; to lookup up the numeric UID for use as the PROJID to simplify using the common &quot;PROJID == UID&quot; workflow. &nbsp;<span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal">Project involves group of people.<span style="font-size:11.0pt"> We use same numeric ID for UNIX group and project. It can be nice to add option
</span>&quot;-p g:groupname&quot; if that does not make a trouble.<span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Best regards, Alex.<span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="color:black">From:
</span></b><span style="color:black">lustre-discuss &lt;lustre-discuss-bounces@lists.lustre.org&gt; on behalf of Andreas Dilger via lustre-discuss &lt;lustre-discuss@lists.lustre.org&gt;<br>
<b>Date: </b>Thursday, March 27, 2025 at 13:48<br>
<b>To: </b>Einar Næss Jensen &lt;einar.nass.jensen@ntnu.no&gt;<br>
<b>Cc: </b>lustre-discuss@lists.lustre.org &lt;lustre-discuss@lists.lustre.org&gt;<br>
<b>Subject: </b>Re: [lustre-discuss] question regarding lustre project quotas vs user and/or group quota<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-line-height-alt:.75pt"><span style="font-size:1.0pt;color:white">This is my recommendation as well. If you want the user and project quotas to be disjoint, then use projid = UID for the home directories, and e.</span><span style="font-size:1.0pt;font-family:&quot;Arial&quot;,sans-serif;color:white">\u200a</span><span style="font-size:1.0pt;color:white">g.
 projid = UID + 1M for the &quot;project&quot; directories. Then they can be assigned different<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-line-height-alt:.75pt"><span style="font-size:1.0pt;color:white">ZjQcmQRYFpfptBannerStart<o:p></o:p></span></p>
</div>
<div style="border:none;border-top:solid #90A4AE 3.0pt;padding:0in 0in 0in 0in;display:block!important;text-align:left!important;margin:0px!important;padding:16px!important;border-radius:4px!important;min-width:200px!important;background-color:#D0D8DC!important;border-top:#90a4ae!important" id="pfptBannerdnqcot2">
<div id="pfptBannerdnqcot2">
<div id="pfptBannerdnqcot2">
<p class="MsoNormal" style="line-height:13.5pt;background:#D0D8DC"><b><span style="font-family:&quot;Arial&quot;,sans-serif;color:black">This Message Is From an External Sender
<o:p></o:p></span></b></p>
</div>
<div id="pfptBannerdnqcot2">
<p class="MsoNormal" style="line-height:13.5pt;background:#D0D8DC"><span style="font-family:&quot;Arial&quot;,sans-serif;color:black">This message came from outside your organization.
<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="background:#D0D8DC"><span style="color:black">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-line-height-alt:.75pt"><span style="font-size:1.0pt;color:white">ZjQcmQRYFpfptBannerEnd<o:p></o:p></span></p>
</div>
<p class="MsoNormal">This is my recommendation as well. &nbsp;If you want the user and project quotas to be disjoint, then use projid = UID for the home directories, and e.g. projid = UID + 1M for the &quot;project&quot; directories. &nbsp;Then they can be assigned different quotas
 for the different parts of the filesystem. <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Otherwise, if there are user, group, and project quotas all enabled at the same time, then the inode/space usage limit will be applied by the lowest limit that is hit. &nbsp;In some cases this is desirable (e.g. a project quota of 1TB shared
 among a group of 10 users each with 20TB limit). &nbsp;In other cases this can be confusing and it is better to just use the projid quotas for different parts of the filesystem.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">There is patch&nbsp;<a href="https://urldefense.us/v3/__https:/review.whamcloud.com/46144__;!!G_uCfscf7eWS!bFB8KNEdVL9XS9Guu7Vwa-KrPwRCIkZTpafT5-_O_EwFyivbwYnc_QREZ9u_8Cad3TLRI1JbgdNUIdJnJpjcXfK2Wv_IXA$">https://review.whamcloud.com/46144</a>&nbsp;(&quot;LU-13335
 utils: allow projid lookup by name&quot;) that will simplify using projids by allowing lookup by name instead of only by number. &nbsp;There is also a feature to allow specifying &quot;-p u:username&quot; to lookup up the numeric UID for use as the PROJID to simplify using the
 common &quot;PROJID == UID&quot; workflow. &nbsp;This patch isn't landed yet, but will become available in a release once the development is finished.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Cheers, Andreas<o:p></o:p></p>
<div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On Mar 26, 2025, at 09:18, Einar Næss Jensen via lustre-discuss &lt;lustre-discuss@lists.lustre.org&gt; wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class="MsoNormal">Hello Åke.<br>
<br>
Thank you for confirming our suspicion.<br>
We have come to the same conclusion on our larger systems (DDN &amp; Clusterstor) but we were hoping perhaps in newer lustre versions this was different.<br>
<br>
<br>
Best Regards<br>
Einar Næss Jensen<br>
<br>
<br>
<br>
________________________________________<br>
From: Åke Sandgren &lt;ake.sandgren@umu.se&gt;<br>
Sent: Wednesday, March 26, 2025 14:57<br>
To: lustre-discuss@lists.lustre.org; Einar Næss Jensen<br>
Subject: Re: question regarding lustre project quotas vs user and/or group quota<br>
<br>
User quota, if enabled, will be affected regardless of where in the file system the file is.<br>
<br>
We decided to use only project quota, even for users home directory, i.e. $HOME get projectquota for projid = userid and project storage has projid = the project storage gid.<br>
<br>
Made our life easier<br>
<br>
________________________________________<br>
From: lustre-discuss &lt;lustre-discuss-bounces@lists.lustre.org&gt; on behalf of Einar Næss Jensen via lustre-discuss &lt;lustre-discuss@lists.lustre.org&gt;<br>
Sent: Wednesday, March 26, 2025 13:50<br>
To: lustre-discuss@lists.lustre.org<br>
Subject: [lustre-discuss] question regarding lustre project quotas vs user and/or group quota<br>
<br>
<br>
Hello all<br>
<br>
I have a question regarding project quotas<br>
<br>
If we have activated user and project quotas on a file system:<br>
Will user quota be affected by what is inside a project/directory quota?<br>
How can we prevent user quota being affected by what a user put into a directory/project quota<br>
<br>
This is on lustre 2.15.x<br>
<br>
<br>
Best Regards<br>
Eianr Næss Jensen<br>
_______________________________________________<br>
lustre-discuss mailing list<br>
lustre-discuss@lists.lustre.org<br>
<a href="https://urldefense.us/v3/__http:/lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org__;!!G_uCfscf7eWS!bFB8KNEdVL9XS9Guu7Vwa-KrPwRCIkZTpafT5-_O_EwFyivbwYnc_QREZ9u_8Cad3TLRI1JbgdNUIdJnJpjcXfIHjoTcAw$">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
_______________________________________________<br>
lustre-discuss mailing list<br>
lustre-discuss@lists.lustre.org<br>
<a href="https://urldefense.us/v3/__http:/lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org__;!!G_uCfscf7eWS!bFB8KNEdVL9XS9Guu7Vwa-KrPwRCIkZTpafT5-_O_EwFyivbwYnc_QREZ9u_8Cad3TLRI1JbgdNUIdJnJpjcXfIHjoTcAw$">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:black">Cheers, Andreas<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">\u2014<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Andreas Dilger<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Lustre Principal Architect<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Whamcloud/DDN<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="color:black"><o:p>&nbsp;</o:p></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>