<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:13:43 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-14898] sanity test_413a: (max - min) * 100 / min: division by 0 (error token is &quot;min&quot;)</title>
                <link>https://jira.whamcloud.com/browse/LU-14898</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Andreas Dilger &amp;lt;adilger@whamcloud.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite runs on master:&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/d6500a87-362a-4b97-a17c-cf951e79589a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/d6500a87-362a-4b97-a17c-cf951e79589a&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/3fd97831-6f6e-4b8e-b8de-54bf5bbe417d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/3fd97831-6f6e-4b8e-b8de-54bf5bbe417d&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;test_413a failed with the following error:&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;Check for uneven MDTs: 
weight diff=2% must be &amp;gt; 100% ...Fill MDT0 with 100 files: loop 0
weight diff=2% must be &amp;gt; 100% ...Fill MDT0 with 100 files: loop 1
weight diff=72% must be &amp;gt; 100% ...Fill MDT0 with 100 files: loop 2
weight diff=72% must be &amp;gt; 100% ...Fill MDT0 with 100 files: loop 3
weight diff=72% must be &amp;gt; 100% ...Fill MDT0 with 100 files: loop 4
sanity.sh: line 24557: (max - min) * 100 / min: division by 0 (error token is &quot;min&quot;)
test_413a returned 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It looks like something is wrong with filling the MDT0000, since it runs multiple loops and &quot;diff&quot; doesn&apos;t change, until MDT0000 is totally full (min = 0).  Either the statfs data is cached and not updated between loops (if the DoM writes are very fast), or the writes are not going to MDT0000 for some reason (I think this is less likely, but possible).&lt;/p&gt;

&lt;p&gt;Another possibility is that the default MDT space balance is causing MDT usage to be much more balanced, and it is not possible to hit 100% imbalance just by writing DoM files to MDT0000?  It may be that the loop also needs to create more, smaller files (e.g. 1000x64KB) so that both blocks and inodes are used.&lt;/p&gt;





&lt;p&gt;VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV&lt;br/&gt;
sanity test_413a - test_413a returned 1&lt;/p&gt;</description>
                <environment></environment>
        <key id="65460">LU-14898</key>
            <summary>sanity test_413a: (max - min) * 100 / min: division by 0 (error token is &quot;min&quot;)</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="laisiyao">Lai Siyao</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Fri, 30 Jul 2021 19:53:37 +0000</created>
                <updated>Sat, 18 Sep 2021 16:47:36 +0000</updated>
                            <resolved>Sat, 18 Sep 2021 16:47:36 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="308980" author="adilger" created="Fri, 30 Jul 2021 19:55:17 +0000"  >&lt;p&gt;Lai, could you please take a look.  This was hit with two recent patches, maybe caused by the recent &quot;default MDT balance&quot; patch causing MDT usage to be more even than before.&lt;/p&gt;</comment>
                            <comment id="309886" author="adilger" created="Wed, 11 Aug 2021 08:54:12 +0000"  >&lt;p&gt;+1 on master: &lt;a href=&quot;https://testing.whamcloud.com/test_sets/1032039a-c54c-456d-9fcf-5ab446241111&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/1032039a-c54c-456d-9fcf-5ab446241111&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="309887" author="laisiyao" created="Wed, 11 Aug 2021 09:17:47 +0000"  >&lt;p&gt;This happens when system is full, and I met this before in my test system, but I didn&apos;t know it could happen in autotest. I&apos;ll look into it later.&lt;/p&gt;</comment>
                            <comment id="310052" author="adilger" created="Thu, 12 Aug 2021 10:42:29 +0000"  >&lt;p&gt;I think part of the problem here is that the current &lt;tt&gt;generate_uneven_mdts()&lt;/tt&gt; is mostly consuming blocks, but that counts only a fraction of imbalance compared to consuming inodes.  As mentioned in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14659&quot; title=&quot;sanity test_413a: subdirs shouldn&amp;#39;t be evenly distributed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14659&quot;&gt;&lt;del&gt;LU-14659&lt;/del&gt;&lt;/a&gt;, it probably makes sense to create smaller files (e.g. 64KB instead of 1MB) so that 16x as many files are created and imbalance the MDTs for inodes also before it runs out of blocks.&lt;/p&gt;</comment>
                            <comment id="313370" author="adilger" created="Sat, 18 Sep 2021 16:47:29 +0000"  >&lt;p&gt;Fixed by &lt;a href=&quot;https://review.whamcloud.com/44384&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/44384&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="64006">LU-14659</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="58656">LU-13417</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_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i020mf:</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>