<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:09:09 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-7467] Quota Account wrong</title>
                <link>https://jira.whamcloud.com/browse/LU-7467</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Quota reporting zero inode usage for user.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;root.pfe21 # lfs quota -u mcantiel /nobackupp8
Disk quotas &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; user mcantiel (uid 30403):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
     /nobackupp8 59604412  530000000 1100000000       -       0  100000  150000       
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;But user has &amp;gt;74K files&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;root.pfe21 # find /nobackupp8/yjiang2/StarMidMHD3 -user mcantiel 2&amp;gt;/dev/&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt; | wc -l
74223
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Example file &lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;-rw-r--r-- 1 mcantiel s1439 819753 Nov 17 22:20 /nobackupp8/yjiang2/StarMidMHD3/Data/id1569/Star-id1569.0029.vtk
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;debugfs:  stat Star-id1569.0029.vtk
Inode: 189531663   Type: regular    Mode:  0644   Flags: 0x0
Generation: 3904475524    Version: 0x000000c0:2479d74b
User: 30403   Group: 41439   Size: 0
File ACL: 0    Directory ACL: 0
Links: 1   Blockcount: 0
Fragment:  Address: 0    &lt;span class=&quot;code-object&quot;&gt;Number&lt;/span&gt;: 0    Size: 0
 ctime: 0x564c909d:00000000 -- Wed Nov 18 06:52:13 2015
 atime: 0x5653822b:00000000 -- Mon Nov 23 13:16:27 2015
 mtime: 0x564c18c1:72aae770 -- Tue Nov 17 22:20:49 2015
crtime: 0x564c18c1:72aae770 -- Tue Nov 17 22:20:49 2015
Size of extra inode fields: 28
Extended attributes stored in inode body: 
  lma = &lt;span class=&quot;code-quote&quot;&gt;&quot;00 00 00 00 00 00 00 00 77 6e 3b 60 03 00 00 00 69 53 00 00 00 00 00 00 &quot;&lt;/span&gt; (24)
  lma: fid=[0x3603b6e77:0x5369:0x0] compat=0 incompat=0
  lov = &lt;span class=&quot;code-quote&quot;&gt;&quot;d0 0b d1 0b 01 00 00 00 69 53 00 00 00 00 00 00 77 6e 3b 60 03 00 00 00 00 00 10 00 01 00 00 00 2c 43 d0 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5b 00 00 00 &quot;&lt;/span&gt; (56)
  link = &lt;span class=&quot;code-quote&quot;&gt;&quot;df f1 ea 11 01 00 00 00 3e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 26 00 00 00 03 60 3b 46 a9 00 01 3a 2f 00 00 00 00 53 74 61 72 2d 69 64 31 35 36 39 2e 30 30 32 39 2e 76 74 6b &quot;&lt;/span&gt; (62)
BLOCKS:

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</description>
                <environment></environment>
        <key id="33303">LU-7467</key>
            <summary>Quota Account wrong</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="5">Cannot Reproduce</resolution>
                                        <assignee username="niu">Niu Yawei</assignee>
                                    <reporter username="mhanafi">Mahmoud Hanafi</reporter>
                        <labels>
                    </labels>
                <created>Mon, 23 Nov 2015 22:22:10 +0000</created>
                <updated>Thu, 8 Sep 2016 22:24:11 +0000</updated>
                            <resolved>Thu, 8 Sep 2016 22:24:11 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="134343" author="niu" created="Tue, 24 Nov 2015 03:09:54 +0000"  >&lt;p&gt;It looks similar to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7459&quot; title=&quot;Incorrect file count with lfs quota&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7459&quot;&gt;&lt;del&gt;LU-7459&lt;/del&gt;&lt;/a&gt;, the inode accounting for certain user is suddenly broken somehow.&lt;/p&gt;

&lt;p&gt;Mahmoud, could provide more details about the problem? What&apos;s the Lustre/Kernel version? If the accounting will change when you adding/removing files? Any error messages prompted in dmesg when you adding/removing files (or inquiring quota)?&lt;/p&gt;</comment>
                            <comment id="134448" author="mhanafi" created="Tue, 24 Nov 2015 20:38:46 +0000"  >&lt;p&gt;The server is running kernel: 2.6.32-431.29.2.el6 with lustre 2.5.3&lt;br/&gt;
The client is running Sles 3.0.101-0.47.67.2 with lustre 2.5.3&lt;/p&gt;

&lt;p&gt;No errors are seeing when running quota inquire. Adding new file/directory does change usage.&lt;br/&gt;
lfs quota -u mcantiel /nobackupp8&lt;br/&gt;
Disk quotas for user mcantiel (uid 30403):&lt;br/&gt;
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace&lt;br/&gt;
    /nobackupp8 59609128  8589934592 10737418240       -      11  1000000 2000000       -&lt;/p&gt;



&lt;p&gt;I suspect that this discrepancy may have happened when the MDS crashed a few days ago. We had this happen once before to a number of users when the MDS crash due to power outage. &lt;/p&gt;</comment>
                            <comment id="134491" author="niu" created="Wed, 25 Nov 2015 02:20:59 +0000"  >&lt;p&gt;In that case, we need to run quotacheck (by disable then re-enable quota feature on MDT device, MDT needs be offline) to fix the inconsistent data.&lt;/p&gt;</comment>
                            <comment id="134924" author="mhanafi" created="Tue, 1 Dec 2015 21:50:54 +0000"  >&lt;p&gt;This method of fixing these discrepancies is not preferred. We are not able to take downtime every time the quotes are inconsistent. &lt;/p&gt;</comment>
                            <comment id="134969" author="niu" created="Wed, 2 Dec 2015 07:54:03 +0000"  >&lt;p&gt;Yes, I totally understood your concern, but it&apos;s the only way to fix a already corrupted accounting file so far (it&apos;s part of e2fsck functionality actually, so it must be done offline)&lt;/p&gt;

&lt;p&gt;The reason of the corrupted accounting file is unclear now, if there is some kind of evidence or clue indicating the corruption is caused by certain operation or race, I think we need to trace it down and try to to find out the bug (probably in kernel or e2fsprogs).&lt;/p&gt;

&lt;p&gt;Did you ever run e2fsck when the MDT recovered from the power outage? What&apos;s the version of e2fsprogs on server?&lt;/p&gt;</comment>
                            <comment id="165372" author="mhanafi" created="Thu, 8 Sep 2016 18:39:55 +0000"  >&lt;p&gt;Close.&lt;/p&gt;</comment>
                            <comment id="165417" author="pjones" created="Thu, 8 Sep 2016 22:24:11 +0000"  >&lt;p&gt;ok Mahmoud&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="33279">LU-7459</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_10490" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 2 Dec 2015 22:22:10 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzxu3b:</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>
                                                                                                                        <customfield id="customfield_10493" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 23 Nov 2015 22:22:10 +0000</customfieldvalue>

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