<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
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.g. projid = UID + 1M for the "project" directories. Then they can be assigned different quotas for the different
parts of the filesystem.
<div><br>
</div>
<div>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. In some cases this is desirable (e.g. a project quota of 1TB shared among a group of
10 users each with 20TB limit). In other cases this can be confusing and it is better to just use the projid quotas for different parts of the filesystem.</div>
<div><br>
</div>
<div>There is patch <a href="https://review.whamcloud.com/46144">https://review.whamcloud.com/46144</a> ("LU-13335 utils: allow projid lookup by name") that will simplify using projids by allowing lookup by name instead of only by number. There is also a feature
to allow specifying "-p u:username" to lookup up the numeric UID for use as the PROJID to simplify using the common "PROJID == UID" workflow. This patch isn't landed yet, but will become available in a release once the development is finished.</div>
<div><br>
</div>
<div>Cheers, Andreas<br id="lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On Mar 26, 2025, at 09:18, Einar Næss Jensen via lustre-discuss <lustre-discuss@lists.lustre.org> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div>Hello Åke.<br>
<br>
Thank you for confirming our suspicion.<br>
We have come to the same conclusion on our larger systems (DDN & 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 <ake.sandgren@umu.se><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 <lustre-discuss-bounces@lists.lustre.org> on behalf of Einar Næss Jensen via lustre-discuss <lustre-discuss@lists.lustre.org><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>
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org<br>
_______________________________________________<br>
lustre-discuss mailing list<br>
lustre-discuss@lists.lustre.org<br>
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org<br>
</div>
</div>
</blockquote>
</div>
<br>
<div>
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div>Cheers, Andreas</div>
<div>—</div>
<div>Andreas Dilger</div>
<div>Lustre Principal Architect</div>
<div>Whamcloud/DDN</div>
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br>
</div>
</body>
</html>