We’re preparing to deploy a new Lustre 2.12.x system and we need to finalize our quota enforcement techniques and policies. With user, group and project quotas enabled for the filesystem, it appears that file write operations count against all three quotas.
The Red Hat documentation suggests that project and group quotas in XFS are “mutually exclusive”: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/storage_administration_guide/xfsquota It would be nice if we had the option of making Lustre project quotas independent of group quotas. ——— Yemi On Aug 5, 2019, at 4:05 PM, Steve Barnet <[email protected]> wrote: Hi Patrick, On 8/5/19 4:32 PM, Patrick Farrell wrote: Steve, The Lustre quota behavior is the standard Linux file system quota behavior - All data written by a user/group/in a project directory counts against all applicable quotas. You'll see the same if using quotas on EXT4, XFS, etc. Additionally (you didn't ask, but this is a common related question...), whenever you hit a quota limit, that's it - That means the effective limit is: MIN(user, project, group) (assuming project applies to the location where you're writing data). Thanks much. That answered it perfectly! Best, ---Steve - Patrick ------------------------------------------------------------------------ *From:* lustre-discuss <[email protected]> on behalf of Steve Barnet <[email protected]> *Sent:* Monday, August 5, 2019 9:59:10 AM *To:* [email protected] <[email protected]> *Subject:* [lustre-discuss] Group and Project quota enforcement semantics Hi all, I am starting to work with project and group quotas since they seem like they would be a good fit for one of our newer filesystems. I think that I have the system configured correctly, and project quotas enabled on all OSTs and the MDT (lustre version 2.12.2). Basic tests appear to work correctly so far. The question I have is related to how group/project quotas relate to user quotas. In particular, from the manual, it states that if a group quota exists, the blocks written count against that quota. My assumption was that those blocks would not also count against the user's individual quota. However, it appears that this is not the case, and in fact the quota applies to both the user and the group. So the question is: does the behavior above sound correct, or have I missed something? And generally, it looks like the filesystem configuration itself is correct, but if I need to supply more detail, please let me know. Thanks much! Best, ---Steve _______________________________________________ lustre-discuss mailing list [email protected] http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org lustre-discuss Info Page <http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org> lists.lustre.org To see the collection of prior postings to the list, visit the lustre-discuss Archives.. Using lustre-discuss: To post a message to all the list members, send email to [email protected]. You can subscribe to the list, or change your existing subscription, in the sections below. _______________________________________________ lustre-discuss mailing list [email protected] http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
_______________________________________________ lustre-discuss mailing list [email protected] http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
