<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:54:41 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-5806] lustre 2.4.3 quotacheck</title>
                <link>https://jira.whamcloud.com/browse/LU-5806</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The quota on our OST slaves are not correct and we would like to do a quotacheck. How do we do this without taking down the filesystem.&lt;/p&gt;

&lt;p&gt;For example here we see that root has 2.9TB on OST0. We have check the file at the filesystem and the objects on the ost and this value is wrong. &lt;br/&gt;
ldan6 ~ # lfs quota -h -u root -v /nobackupp7&lt;br/&gt;
Disk quotas for user root (uid 0):&lt;br/&gt;
     Filesystem    used   quota   limit   grace   files   quota   limit   grace&lt;br/&gt;
    /nobackupp7  227.7T      0k      0k       -   20842       0       0       -&lt;br/&gt;
nbp7-MDT0000_UUID&lt;br/&gt;
                 12.47G       -      0k       -   20842       -       0       -&lt;br/&gt;
nbp7-OST0000_UUID&lt;br/&gt;
                 2.926T       -      0k       -       -       -       -       -&lt;br/&gt;
nbp7-OST0001_UUID&lt;br/&gt;
                  2.98T       -      0k       -       -       -       -       -&lt;br/&gt;
nbp7-OST0002_UUID&lt;/p&gt;</description>
                <environment>lustre 2.4.3 servers</environment>
        <key id="27314">LU-5806</key>
            <summary>lustre 2.4.3 quotacheck</summary>
                <type id="9" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/undefined.png">Question/Request</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="niu">Niu Yawei</assignee>
                                    <reporter username="mhanafi">Mahmoud Hanafi</reporter>
                        <labels>
                    </labels>
                <created>Fri, 24 Oct 2014 22:36:56 +0000</created>
                <updated>Fri, 16 Oct 2015 04:28:15 +0000</updated>
                            <resolved>Fri, 16 Oct 2015 04:28:15 +0000</resolved>
                                    <version>Lustre 2.4.3</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="97493" author="pjones" created="Sat, 25 Oct 2014 01:11:42 +0000"  >&lt;p&gt;Niu&lt;/p&gt;

&lt;p&gt;Can you please advise?&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="97522" author="niu" created="Mon, 27 Oct 2014 03:17:21 +0000"  >&lt;blockquote&gt;
&lt;p&gt;For example here we see that root has 2.9TB on OST0. We have check the file at the filesystem and the objects on the ost and this value is wrong.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;How did you check to find this value is wrong?&lt;/p&gt;

&lt;p&gt;Is your system upgraded from 2.1 or it&apos;s an fresh 2.4 system? If it&apos;s upgraded from 2.1, that&apos;s could be dup of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3784&quot; title=&quot;Quota issue on system upgraded to 2.4.x&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3784&quot;&gt;&lt;del&gt;LU-3784&lt;/del&gt;&lt;/a&gt;, and you need to upgrade your e2fsprogs and trigger quota check on the problematic OSTs. I always suggest you upgrade your e2fsprogs to the latest version (1.42.12.wc1-7)&lt;/p&gt;

&lt;p&gt;There is no way to do quotacheck online. You need to umount the OST and tirgger quotacheck by &quot;tune2fs -O ^quota $ostdev&quot;, then &quot;tune2fs -O quota $ostdev&quot; (disable, then re-enable quota feature on OST device).&lt;/p&gt;</comment>
                            <comment id="97634" author="mhanafi" created="Mon, 27 Oct 2014 21:05:25 +0000"  >&lt;p&gt;I think there is a need for a better way to do a force quotacheck without unmounting the OST.&lt;/p&gt;
</comment>
                            <comment id="97652" author="niu" created="Tue, 28 Oct 2014 01:22:27 +0000"  >&lt;blockquote&gt;
&lt;p&gt;I think there is a need for a better way to do a force quotacheck without unmounting the OST.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Well, the purpose of making quota feature as an primary feature in ext4/ldiskfs is to eliminate the needs for qutoacheck. I don&apos;t think we should implement an online quotacheck, instead, we&apos;d fix the bug which can cause inconsistency.&lt;/p&gt;</comment>
                            <comment id="130570" author="mhanafi" created="Fri, 16 Oct 2015 00:02:21 +0000"  >&lt;p&gt;please close this issue&lt;/p&gt;</comment>
                            <comment id="130593" author="pjones" created="Fri, 16 Oct 2015 04:28:15 +0000"  >&lt;p&gt;ok Mahmoud&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|hzwzhz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>16287</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>