<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:26:49 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-16415] Lustre quota enforcement for root files in project quota</title>
                <link>https://jira.whamcloud.com/browse/LU-16415</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Quota project enforcement doesn&apos;t work for root.&#160;&#160;&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# mkdir /mnt/lustre/testdir
# chmod 777 /mnt/lustre/testdir# lfs project -p 10 -s /mnt/lustre/testdir
# lfs setquota -B 200M -p 10 /mnt/lustre/
# lfs quota -p 10 /mnt/lustre/
Disk quotas for prj 10 (pid 10):
&#160; &#160; &#160;Filesystem &#160;kbytes &#160; quota &#160; limit &#160; grace &#160; files &#160; quota &#160; limit &#160; grace
&#160; &#160; /mnt/lustre &#160; &#160; &#160; 4 &#160; &#160; &#160; 0 &#160;204800 &#160; &#160; &#160; - &#160; &#160; &#160; 1 &#160; &#160; &#160; 0 &#160; &#160; &#160; 0 &#160; &#160; &#160; -
# id
uid=0(root) gid=0(root) groups=0(root)# dd if=/dev/zero of=/mnt/lustre/testdir/file bs=1M count=300
300+0 records in
300+0 records out
314572800 bytes (315 MB, 300 MiB) copied, 0.21125 s, 1.5 GB/s
# lfs quota -p 10 /mnt/lustre
Disk quotas for prj 10 (pid 10):
&#160; &#160; &#160;Filesystem &#160;kbytes &#160; quota &#160; limit &#160; grace &#160; files &#160; quota &#160; limit &#160; grace
&#160; &#160; /mnt/lustre &#160;307112* &#160; &#160; &#160;0 &#160;204800 &#160; &#160; &#160; - &#160; &#160; &#160; 2 &#160; &#160; &#160; 0 &#160; &#160; &#160; 0 &#160; &#160; &#160; -
pid 10 is using default file quota setting$ id
uid=8888(serega) gid=100(users) groups=100(users)
$ dd if=/dev/zero of=/mnt/lustretestdir/file bs=1M count=300
dd: error writing &apos;/mnt/lustre/testdir/file&apos;: Disk quota exceeded
229+0 records in
228+0 records out
239075328 bytes (239 MB, 228 MiB) copied, 0.182616 s, 1.3 GB/s[root@ec01 ~]# lfs quota -p 10 /mnt/lustre
Disk quotas for prj 10 (pid 10):
&#160; &#160; &#160;Filesystem &#160;kbytes &#160; quota &#160; limit &#160; grace &#160; files &#160; quota &#160; limit &#160; grace
&#160; &#160; /mnt/lustre &#160;233480* &#160; &#160; &#160;0 &#160;204800 &#160; &#160; &#160; - &#160; &#160; &#160; 2 &#160; &#160; &#160; 0 &#160; &#160; &#160; 0 &#160; &#160; &#160; -
pid 10 is using default file quota setting
 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="73698">LU-16415</key>
            <summary>Lustre quota enforcement for root files in project quota</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="scherementsev">Sergey Cheremencev</assignee>
                                    <reporter username="scherementsev">Sergey Cheremencev</reporter>
                        <labels>
                    </labels>
                <created>Tue, 20 Dec 2022 13:58:02 +0000</created>
                <updated>Wed, 19 Apr 2023 13:18:56 +0000</updated>
                            <resolved>Fri, 27 Jan 2023 04:28:42 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="357039" author="gerrit" created="Tue, 20 Dec 2022 19:58:50 +0000"  >&lt;p&gt;&quot;Sergey Cheremencev &amp;lt;scherementsev@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/49460&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/49460&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16415&quot; title=&quot;Lustre quota enforcement for root files in project quota&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16415&quot;&gt;&lt;del&gt;LU-16415&lt;/del&gt;&lt;/a&gt; quota: enforce project quota for root&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 61dfba34486686708404f5e9e4e45147b64a6497&lt;/p&gt;</comment>
                            <comment id="360575" author="gerrit" created="Fri, 27 Jan 2023 00:35:06 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/49460/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/49460/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16415&quot; title=&quot;Lustre quota enforcement for root files in project quota&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16415&quot;&gt;&lt;del&gt;LU-16415&lt;/del&gt;&lt;/a&gt; quota: enforce project quota for root&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f147655c33ea61450105b602c82da900fd1417b5&lt;/p&gt;</comment>
                            <comment id="360602" author="pjones" created="Fri, 27 Jan 2023 04:28:42 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i038e7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>