<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:04:15 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-150] inaccurate quota output after the recovery</title>
                <link>https://jira.whamcloud.com/browse/LU-150</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;We can&apos;t see correct quota output after the recovery. Once run quotacheck again, the &apos;lfs quota&apos; shows right output. Here is quick reproducer. We confirmed same situation happens on both lustre-1.8.4 and lustre-1.8.5.&lt;/p&gt;

&lt;p&gt;0. Normal case&lt;br/&gt;
It&apos;s no problem.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;test@r03 test&amp;#93;&lt;/span&gt;$ lfs quota -u test /mnt/lustre&lt;br/&gt;
Disk quotas for user test (uid 501):&lt;br/&gt;
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace&lt;br/&gt;
    /mnt/lustre       4       0       0       -       1       0       0       -&lt;/p&gt;


&lt;p&gt;1. &apos;lfs quota&apos; on during the recovery&lt;br/&gt;
Umount/mount an OST and occurs the recovery. The during the recovery, when we run &apos;lfs quota&apos; command, the some data are inaccurate.&lt;/p&gt;

&lt;p&gt;Disk quotas for user test (uid 501):&lt;br/&gt;
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace&lt;br/&gt;
    /mnt/lustre     &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;       0       0       -     &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;       0       0       -&lt;br/&gt;
Some errors happened when getting quota info. Some devices may be not working or deactivated. The data in &quot;[]&quot; is inaccurate.&lt;/p&gt;

&lt;p&gt;2. &apos;lfs quota&apos; after the recovery&lt;/p&gt;

&lt;p&gt;Even after finish the recovery, inaccurate output still can&apos;t fixed.&lt;/p&gt;

&lt;p&gt;Disk quotas for user test (uid 501):&lt;br/&gt;
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace&lt;br/&gt;
    /mnt/lustre     &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;       0       0       -     &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;       0       0       -&lt;br/&gt;
Some errors happened when getting quota info. Some devices may be not working or deactivated. The data in &quot;[]&quot; is inaccurate.&lt;/p&gt;

&lt;p&gt;3. run quotacheck again&lt;/p&gt;

&lt;p&gt;the correct output shows up once we run quotacheck again after the recovery.&lt;/p&gt;

&lt;p&gt;Disk quotas for user test (uid 501):&lt;br/&gt;
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace&lt;br/&gt;
    /mnt/lustre       4       0       0       -       1       0       0       -&lt;/p&gt;
</description>
                <environment></environment>
        <key id="10484">LU-150</key>
            <summary>inaccurate quota output after the recovery</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="niu">Niu Yawei</assignee>
                                    <reporter username="ihara">Shuichi Ihara</reporter>
                        <labels>
                    </labels>
                <created>Mon, 21 Mar 2011 20:47:24 +0000</created>
                <updated>Tue, 28 Jun 2011 15:01:40 +0000</updated>
                            <resolved>Mon, 28 Mar 2011 02:01:38 +0000</resolved>
                                    <version>Lustre 1.8.6</version>
                                    <fixVersion>Lustre 1.8.6</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="11281" author="pjones" created="Tue, 22 Mar 2011 05:26:00 +0000"  >&lt;p&gt;Niu&lt;/p&gt;

&lt;p&gt;Could you please look into this issue?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="11290" author="niu" created="Tue, 22 Mar 2011 20:17:32 +0000"  >&lt;p&gt;Hi, Ihara&lt;/p&gt;

&lt;p&gt;This is because the quota on the umount/mount OST was not turned on, so lfs reported the usage might be inaccurate. You just need to run &apos;lfs quotaon&apos; again to turn on quota on all OSTs after that.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Niu&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="11315" author="ihara" created="Wed, 23 Mar 2011 22:12:48 +0000"  >&lt;p&gt;Niu, &lt;/p&gt;

&lt;p&gt;&apos;lfs quotaon&apos; helps to avoid &apos;lfs quotacheck&apos; again after the recovery, but still need to run &apos;lfs quotaon&apos; after the every recovery finish. The writing of ost.quota_type=ug to all OSTs, mdt.quota_type=ug to MDT are only a solution to keep the enabling the quota?&lt;/p&gt;

&lt;p&gt;we think about the failover situation of this.&lt;/p&gt;

&lt;p&gt;Ihara&lt;/p&gt;</comment>
                            <comment id="11317" author="niu" created="Wed, 23 Mar 2011 22:42:20 +0000"  >&lt;p&gt;Hi, Ihara&lt;/p&gt;

&lt;p&gt;Right, quota should not be automatically enabled after filesystem mounted, unless there are configuration like ost.quota_type, mdt/mdd.quota_type (I think it&apos;s the best way to auto turn on quota for lustre), or some auto-scripts to do it (like local fs usually does).&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Niu&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="11416" author="ihara" created="Mon, 28 Mar 2011 00:56:21 +0000"  >&lt;p&gt;OK, thanks! I also tested again and confirmed this. It was not bug. I was sorry this stupid question. I&apos;ve passed quota related information to the customer. Please close this ticket.&lt;/p&gt;

&lt;p&gt;Ihara&lt;/p&gt;</comment>
                            <comment id="11417" author="niu" created="Mon, 28 Mar 2011 02:01:38 +0000"  >&lt;p&gt;Thank you, Ihara. Set it as &apos;Won&apos;t fix&apos;.&lt;/p&gt;</comment>
                    </comments>
                    <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|hzw09z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10124</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>