<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:47:55 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-5028] quota has grace time when the soft limits are not exceeded </title>
                <link>https://jira.whamcloud.com/browse/LU-5028</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;We found &apos;lfs quota&apos; reports strange results for some groups. The soft limit of them are not exceeded, but the grace times are not zero.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@fm08 ~&amp;#93;&lt;/span&gt;# lfs quota -g gism /home2&lt;br/&gt;
Disk quotas for group gism (gid 1513):&lt;br/&gt;
   Filesystem  kbytes   quota   limit   grace   files   quota   limit&lt;br/&gt;
grace&lt;br/&gt;
       /home2 45897736* 200000000 2000000000 6d23h59m45s       1       0&lt;br/&gt;
0       -&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@fm08 ~&amp;#93;&lt;/span&gt;# lfs quota -g gitj /home2&lt;br/&gt;
Disk quotas for group gitj (gid 3271):&lt;br/&gt;
   Filesystem  kbytes   quota   limit   grace   files   quota   limit&lt;br/&gt;
grace&lt;br/&gt;
       /home2 16644836* 200000000 2000000000 6d23h59m48s       1       0&lt;br/&gt;
0       -&lt;/p&gt;</description>
                <environment></environment>
        <key id="24617">LU-5028</key>
            <summary>quota has grace time when the soft limits are not exceeded </summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="5">Cannot Reproduce</resolution>
                                        <assignee username="niu">Niu Yawei</assignee>
                                    <reporter username="lixi">Li Xi</reporter>
                        <labels>
                    </labels>
                <created>Thu, 8 May 2014 01:42:06 +0000</created>
                <updated>Fri, 18 Nov 2016 05:02:24 +0000</updated>
                            <resolved>Fri, 18 Nov 2016 05:02:24 +0000</resolved>
                                    <version>Lustre 2.4.2</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="83472" author="niu" created="Thu, 8 May 2014 02:56:33 +0000"  >&lt;p&gt;I&apos;m afraid that the allocated limits has exceeded the softlimit, could you run &quot;lfs quota -v&quot; to see if the total allocated block limit has exceeded the softlimit?&lt;/p&gt;</comment>
                            <comment id="83473" author="lixi" created="Thu, 8 May 2014 03:23:58 +0000"  >&lt;p&gt;Hi Yawei,&lt;/p&gt;

&lt;p&gt;Thanks for the quick response!&lt;/p&gt;

&lt;p&gt;Following is the &apos;lfs quota -v&apos; results. We changed the softlimit from 200000000 to 1000000000, so there is no grace time now.&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;[root@ff04 ~]# lfs quota -v -g gism /home2
Disk quotas for group gism (gid 1513):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
         /home2 45897736  1000000000 2000000000       -       1       0       0       -
home2-MDT0000_UUID
                      4       -       0       -       1       -       0       -
home2-OST0000_UUID
                 256004       - 16777216       -       -       -       -       -
home2-OST0001_UUID
                      0       - 4194384       -       -       -       -       -
home2-OST0002_UUID
                      0       - 4718844       -       -       -       -       -
home2-OST0003_UUID
                 256000       - 16777216       -       -       -       -       -
home2-OST0004_UUID
                      0       - 5242980       -       -       -       -       -
home2-OST0005_UUID
                2676740       - 16777216       -       -       -       -       -
home2-OST0006_UUID
                2676740       - 16777216       -       -       -       -       -
home2-OST0007_UUID
                2676740       - 16777216       -       -       -       -       -
home2-OST0008_UUID
                2932744       - 16777216       -       -       -       -       -
home2-OST0009_UUID
                      0       - 4788916       -       -       -       -       -
home2-OST000a_UUID
                 256004       - 16777216       -       -       -       -       -
home2-OST000b_UUID
                      0       - 4194304       -       -       -       -       -
home2-OST000c_UUID
                      0       - 4194304       -       -       -       -       -
home2-OST000d_UUID
                 256000       - 16777216       -       -       -       -       -
home2-OST000e_UUID
                      0       - 4194304       -       -       -       -       -
home2-OST000f_UUID
                2676740       - 16777216       -       -       -       -       -
home2-OST0010_UUID
                2676740       - 16777216       -       -       -       -       -
home2-OST0011_UUID
                2676740       - 16777216       -       -       -       -       -
home2-OST0012_UUID
                2932744       - 16777216       -       -       -       -       -
home2-OST0013_UUID
                      0       - 4823972       -       -       -       -       -
home2-OST0014_UUID
                      0       - 4194428       -       -       -       -       -
home2-OST0015_UUID
                      0       - 4195184       -       -       -       -       -
home2-OST0016_UUID
                      0       - 4719436       -       -       -       -       -
home2-OST0017_UUID
                 256004       - 16777216       -       -       -       -       -
home2-OST0018_UUID
                      0       -       0       -       -       -       -       -
home2-OST0019_UUID
                2676204       - 16777216       -       -       -       -       -
home2-OST001a_UUID
                2676204       - 16777216       -       -       -       -       -
home2-OST001b_UUID
                2676204       - 16777216       -       -       -       -       -
home2-OST001c_UUID
                2932208       - 16777216       -       -       -       -       -
home2-OST001d_UUID
                 256004       - 16777216       -       -       -       -       -
home2-OST001e_UUID
                      0       - 4194808       -       -       -       -       -
home2-OST001f_UUID
                      0       - 4718896       -       -       -       -       -
home2-OST0020_UUID
                 256000       - 16777216       -       -       -       -       -
home2-OST0021_UUID
                      0       - 5242892       -       -       -       -       -
home2-OST0022_UUID
                2676740       - 16777216       -       -       -       -       -
home2-OST0023_UUID
                2676740       - 16777216       -       -       -       -       -
home2-OST0024_UUID
                2676740       - 16777216       -       -       -       -       -
home2-OST0025_UUID
                2932744       - 16777216       -       -       -       -       -
home2-OST0026_UUID
                      0       - 4543924       -       -       -       -       -
home2-OST0027_UUID
                 256004       - 16777216       -       -       -       -       -
[root@ff04 ~]# lfs quota -v -g gitj /home2
Disk quotas for group gitj (gid 3271):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
         /home2 16644836  1000000000 2000000000       -       1       0       0       -
home2-MDT0000_UUID
                      4       -       0       -       1       -       0       -
home2-OST0000_UUID
                 252836       - 16777216       -       -       -       -       -
home2-OST0001_UUID
                 232308       - 16777216       -       -       -       -       -
home2-OST0002_UUID
                 304368       - 16777216       -       -       -       -       -
home2-OST0003_UUID
                 479444       - 16777216       -       -       -       -       -
home2-OST0004_UUID
                 304508       - 16777216       -       -       -       -       -
home2-OST0005_UUID
                 237444       - 16777216       -       -       -       -       -
home2-OST0006_UUID
                1175356       - 16777216       -       -       -       -       -
home2-OST0007_UUID
                 239768       - 16777216       -       -       -       -       -
home2-OST0008_UUID
                 685248       - 16777216       -       -       -       -       -
home2-OST0009_UUID
                 243156       - 16777216       -       -       -       -       -
home2-OST000a_UUID
                 275252       - 16777216       -       -       -       -       -
home2-OST000b_UUID
                 227748       - 16777216       -       -       -       -       -
home2-OST000c_UUID
                 311196       - 16777216       -       -       -       -       -
home2-OST000d_UUID
                 511500       - 16777216       -       -       -       -       -
home2-OST000e_UUID
                 293564       - 16777216       -       -       -       -       -
home2-OST000f_UUID
                 218748       - 16777216       -       -       -       -       -
home2-OST0010_UUID
                1186936       - 16777216       -       -       -       -       -
home2-OST0011_UUID
                 444848       - 16777216       -       -       -       -       -
home2-OST0012_UUID
                 504152       - 16777216       -       -       -       -       -
home2-OST0013_UUID
                 229696       - 16777216       -       -       -       -       -
home2-OST0014_UUID
                 245656       - 16777216       -       -       -       -       -
home2-OST0015_UUID
                 272548       - 16777216       -       -       -       -       -
home2-OST0016_UUID
                 457932       - 16777216       -       -       -       -       -
home2-OST0017_UUID
                 359204       - 16777216       -       -       -       -       -
home2-OST0018_UUID
                 234288       - 16777216       -       -       -       -       -
home2-OST0019_UUID
                 223420       - 16777216       -       -       -       -       -
home2-OST001a_UUID
                1166492       - 16777216       -       -       -       -       -
home2-OST001b_UUID
                 440788       - 16777216       -       -       -       -       -
home2-OST001c_UUID
                 491780       - 16777216       -       -       -       -       -
home2-OST001d_UUID
                 250044       - 16777216       -       -       -       -       -
home2-OST001e_UUID
                 245992       - 16777216       -       -       -       -       -
home2-OST001f_UUID
                 273804       - 16777216       -       -       -       -       -
home2-OST0020_UUID
                 466008       - 16777216       -       -       -       -       -
home2-OST0021_UUID
                 348564       - 16777216       -       -       -       -       -
home2-OST0022_UUID
                 239476       - 16777216       -       -       -       -       -
home2-OST0023_UUID
                 229744       - 16777216       -       -       -       -       -
home2-OST0024_UUID
                1172008       - 16777216       -       -       -       -       -
home2-OST0025_UUID
                 448984       - 16777216       -       -       -       -       -
home2-OST0026_UUID
                 473704       - 16777216       -       -       -       -       -
home2-OST0027_UUID
                 246320       - 16777216       -       -       -       -       -
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="83477" author="niu" created="Thu, 8 May 2014 07:02:03 +0000"  >&lt;p&gt;If you change the softlimit, the allocated limits could be changed as well. (because the qunit is increased when you enlarge the softlimit)&lt;br/&gt;
From the output we can see the total allocated limits has exceeded original softlimit now (and I suspect it has exceeded before change), that&apos;s why grace timer was triggered.&lt;/p&gt;

&lt;p&gt;Did you unlink some large files before? (Which could free lots of space, but the allocated limit can&apos;t be released immediately)&lt;/p&gt;</comment>
                            <comment id="83487" author="ihara" created="Thu, 8 May 2014 09:53:24 +0000"  >&lt;p&gt;Hi Niu,&lt;br/&gt;
We have checked PENDING direcotry if open-unlink file are exist, but there was no files in there.&lt;br/&gt;
And, we can&apos;t explain the following situation too. quota is worng accounting. this is same lustre filesystem at same customer.&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;$ ls -l
total 1631392
-rw-r--r-- 1 uits0006 gits         82 Nov 19 09:14 cdbullet.gif
drwxr-xr-x 2 uits0006 gits       4096 Nov 19 09:14 css
drwxr-xr-x 2 uits0006 gits       4096 Nov 19 09:14 images
-rw-r--r-- 1 uits0006 gits     578119 Nov 19 01:44 InstallationGuide_8.06.007_01.html
-rw-r--r-- 1 uits0006 gits    1862473 Nov 19 09:16 LicenseAdministration.pdf
-rw-r--r-- 1 uits0006 gits     515515 Nov 19 09:14 ReleaseNotes_8.06.007_01.html
drwxr-xr-x 2 uits0006 gits       4096 Nov 19 09:13 scripts
-rwxr-xr-x 1 uits0006 gits 1667566384 Nov 19 09:09 STAR-CCM+8.06.007_01_linux-x86_64-2.3.4_gnu4.6-r8.bin
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;There are more than 8 files at least(we checked he has 121 files for total), but &quot;lfs quota&quot; says there is only one file for this user.&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;$ lfs quota /home2
Disk quotas for user uits0006 (uid 4879):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
         /home2 6447520  10485760 10485760       -       1       0       0       -
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="83489" author="lixi" created="Thu, 8 May 2014 11:57:47 +0000"  >&lt;p&gt;Hi Yawei,&lt;/p&gt;

&lt;p&gt;Thanks for you explaination. I have a doubt here. I though the grace time is triggered if and only if the actually used space exceeds the softlimit, but it seems that I was wrong? The grace time is triggered iff the allocated(or can I say &apos;granted&apos;) limits exceeds the softlimit, right? So, that means, there is some difference between allocated limits and actually uses space? If so, then what is the difference?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Li Xi&lt;/p&gt;</comment>
                            <comment id="83498" author="niu" created="Thu, 8 May 2014 13:27:05 +0000"  >&lt;p&gt;Hi, Ihara&lt;br/&gt;
Is this an upgraded system? If it&apos;s an upgraded system, probably the old files wasn&apos;t accounted due to e2fsprogs bug.&lt;/p&gt;

&lt;p&gt;Hi, LiXi&lt;br/&gt;
The grace time is triggered when &apos;granted&apos; exceeding softlimit. We try to minimize the difference (used space vs. granted space) by shrinking qunit size as the granted space approaching the soft/hard limit, so the difference shouldn&apos;t be that huge.&lt;/p&gt;

&lt;p&gt;Did you just deleted some large files just before run the &apos;lfs quota&apos;? Can this be reproduced?&lt;/p&gt;</comment>
                            <comment id="83502" author="ihara" created="Thu, 8 May 2014 14:01:50 +0000"  >&lt;p&gt;Niu, &lt;br/&gt;
Originally, lustre-2.4.2 was installed as initial install, but we upgraded lustre-2.4.3 with debug patches for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4249&quot; title=&quot;exception RIP: lqe64_hash_keycmp+12&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4249&quot;&gt;&lt;del&gt;LU-4249&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
It&apos;s still old e2fsrpogs (1.42.7.wc1) installed, but never ran fsck, other utilies in e2fsprogs.&lt;br/&gt;
Even this case, does &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4504&quot; title=&quot;User quota problem after Lustre upgrade (2.1.4 to 2.4.1)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4504&quot;&gt;&lt;del&gt;LU-4504&lt;/del&gt;&lt;/a&gt; issue produce?&lt;/p&gt;</comment>
                            <comment id="83593" author="niu" created="Fri, 9 May 2014 01:35:01 +0000"  >&lt;blockquote&gt;
&lt;p&gt;Originally, lustre-2.4.2 was installed as initial install, but we upgraded lustre-2.4.3 with debug patches for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4249&quot; title=&quot;exception RIP: lqe64_hash_keycmp+12&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4249&quot;&gt;&lt;del&gt;LU-4249&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
It&apos;s still old e2fsrpogs (1.42.7.wc1) installed, but never ran fsck, other utilies in e2fsprogs.&lt;br/&gt;
Even this case, does &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4504&quot; title=&quot;User quota problem after Lustre upgrade (2.1.4 to 2.4.1)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4504&quot;&gt;&lt;del&gt;LU-4504&lt;/del&gt;&lt;/a&gt; issue produce?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Did you ever disable/enable quota feature for mdt device? I suggest you upgrade the e2fsprogs and disable/enable quota feature for mdt device to see if the problem can be resolved.&lt;/p&gt;</comment>
                            <comment id="83981" author="ihara" created="Tue, 13 May 2014 13:11:20 +0000"  >&lt;p&gt;Hi Niu, We didn&apos;t disable/enable quota yet since we needed to umount/mount MDT.We will be going to try this disable/enable, but before that, we really want to makre quota corraption happens even we didn&apos;t run any e2fsck or writing data with tool in old e2fsprogs?&lt;/p&gt;</comment>
                            <comment id="84067" author="niu" created="Wed, 14 May 2014 02:16:01 +0000"  >&lt;p&gt;If tune2fs &amp;amp; e2fsck wasn&apos;t used on lustre device, the quota accounting file should be complete. Could you try to create new files to see if it&apos;ll be accounted?&lt;/p&gt;</comment>
                            <comment id="84069" author="ihara" created="Wed, 14 May 2014 04:59:36 +0000"  >&lt;p&gt;New files are accountted, but total accountted number of files are incorrect.&lt;/p&gt;</comment>
                            <comment id="84070" author="ihara" created="Wed, 14 May 2014 05:04:34 +0000"  >&lt;p&gt;And, another problem, as far as we checked &quot;lfs quota -v&quot;, total accounted file size is close to sum of each of quota slave accounting size. but sum of  quota limit in quota slave  is completely wrong of cluster wide quota lmit.&lt;/p&gt;</comment>
                            <comment id="84073" author="niu" created="Wed, 14 May 2014 05:58:26 +0000"  >&lt;blockquote&gt;
&lt;p&gt;And, another problem, as far as we checked &quot;lfs quota -v&quot;, total accounted file size is close to sum of each of quota slave accounting size. but sum of quota limit in quota slave is completely wrong of cluster wide quota lmit.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Sum of allocated limit should be less than hardlimit of the system, because there could be some limits not allocated to slaves yet.&lt;/p&gt;</comment>
                            <comment id="86251" author="jfc" created="Tue, 10 Jun 2014 18:12:11 +0000"  >&lt;p&gt;Shuichi-san,&lt;br/&gt;
Do we expect to see any further activity on this ticket?&lt;br/&gt;
Is there anything more that you require from HPDD?&lt;br/&gt;
Thanks,&lt;br/&gt;
~ jfc.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="14908" name="lfs_quota-g_guta.log" size="4409" author="ihara" created="Wed, 14 May 2014 05:04:34 +0000"/>
                    </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_10490" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 7 Aug 2014 01:42:06 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzwm3b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13909</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>
                                                                                                                        <customfield id="customfield_10493" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 8 May 2014 01:42:06 +0000</customfieldvalue>

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