<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:41:06 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-4258] ENOSPC when using conf_param on fs with a lot of OSTs</title>
                <link>https://jira.whamcloud.com/browse/LU-4258</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;At TACC we are running into an issue where the config log is overflowing due to the large number of OSTs and conf_param on the mdt and clients is failing with ENOSPC. I tracked down the issue to llog_osd_write_rec:&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;00000040:00000001:3.0:1384532145.376864:0:12518:0:(llog_osd.c:336:llog_osd_write_rec()) &lt;span class=&quot;code-object&quot;&gt;Process&lt;/span&gt; entered
00000040:00001000:3.0:1384532145.376865:0:12518:0:(llog_osd.c:346:llog_osd_write_rec()) &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; record 10620000 to [0xa:0x419:0x0]
00000040:00000001:3.0:1384532145.376867:0:12518:0:(llog_osd.c:440:llog_osd_write_rec()) &lt;span class=&quot;code-object&quot;&gt;Process&lt;/span&gt; leaving (rc=18446744073709551588 : -28 : ffffffffffffffe4)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It looks like it&apos;s hitting this:&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;    &lt;span class=&quot;code-comment&quot;&gt;/* &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; it&apos;s the last idx in log file, then &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; -ENOSPC */&lt;/span&gt;                     
    &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (loghandle-&amp;gt;lgh_last_idx &amp;gt;= LLOG_BITMAP_SIZE(llh) - 1)                       
        RETURN(-ENOSPC);                                                            
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Here is the CONFIGs directory for reference:&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;total 31212
-rw-r--r-- 1 root root 11674048 Sep 24 13:39 gsfs-client
-rw-r--r-- 1 root root 11980704 Sep 24 13:39 gsfs-MDT0000
-rw-r--r-- 1 root root     9432 Sep 24 13:48 gsfs-OST0000
-rw-r--r-- 1 root root     9432 Sep 24 13:49 gsfs-OST0001
...
-rw-r--r-- 1 root root     9432 Oct  1 12:15 gsfs-OST029f
-rw-r--r-- 1 root root    12288 Sep 24 13:39 mountdata
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Is there a way to increase the BITMAP_SIZE? It looks like the bitmap itself is based on the CHUNK_SIZE but the BITMAP_SIZE macro doesn&apos;t reference it at all. &lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</description>
                <environment></environment>
        <key id="22048">LU-4258</key>
            <summary>ENOSPC when using conf_param on fs with a lot of OSTs</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="green">Oleg Drokin</assignee>
                                    <reporter username="manish">Manish Patel</reporter>
                        <labels>
                    </labels>
                <created>Fri, 15 Nov 2013 16:43:52 +0000</created>
                <updated>Fri, 14 Nov 2014 15:22:15 +0000</updated>
                            <resolved>Fri, 14 Nov 2014 15:22:15 +0000</resolved>
                                    <version>Lustre 2.4.1</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="71652" author="kitwestneat" created="Fri, 15 Nov 2013 18:39:11 +0000"  >&lt;p&gt;The title should say lot of OSTs, typo on my part. &lt;/p&gt;</comment>
                            <comment id="71654" author="pjones" created="Fri, 15 Nov 2013 18:43:57 +0000"  >&lt;p&gt;Oleg&lt;/p&gt;

&lt;p&gt;Is this something that you have seen?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="71704" author="green" created="Sat, 16 Nov 2013 00:04:05 +0000"  >&lt;p&gt;No, I have not seen this before.&lt;/p&gt;

&lt;p&gt;&quot;new record 10620000&quot; - what are you doing to have so many config records? Changing some parameters frequently?&lt;/p&gt;

&lt;p&gt;Meanwhile if you run lctl write_conf, that should clear the config logs.&lt;/p&gt;</comment>
                            <comment id="71705" author="adilger" created="Sat, 16 Nov 2013 00:08:21 +0000"  >&lt;p&gt;It looks like there are 672 OSTs in the filesystem.  That would mean 100 tunables set per OST to hit the ~65000 limit of BITMAP_SIZE (slightly less than the number of bits that fit in an 8kB block).  Unfortunately, it isn&apos;t possible to increase this easily, since the 8kB CHUNK_SIZE is a network protocol limit for the llog code.&lt;/p&gt;

&lt;p&gt;As a workaround it would be possible to run --writeconf on all the servers (to erase the config log on the MGS and then regenerate it), but that isn&apos;t a real solution to the problem.  In Lustre 2.5+ it is possible to use &quot;lctl set_param -P&quot; to store permanent parameters in a separate log from the --writeconf log (though this is only usable for 2.5+ clients), so this would give you at least some more space.  It would be better to allow a larger configuration log, since this has been hit by others in the past as well.&lt;/p&gt;</comment>
                            <comment id="73606" author="kitwestneat" created="Mon, 16 Dec 2013 18:31:59 +0000"  >&lt;p&gt;This site also has about 12 OST pools. How do the OST pools get stored? Is it one record per pool, or one record per OST in the pool? I am assuming that the set_param -P won&apos;t include these. &lt;/p&gt;</comment>
                            <comment id="99138" author="manish" created="Fri, 14 Nov 2014 04:16:34 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Since customer is moved to Lustre  v2.4.3, this ticket can be closed.&lt;/p&gt;

&lt;p&gt;Thank You,&lt;br/&gt;
                  Manish &lt;/p&gt;</comment>
                            <comment id="99176" author="pjones" created="Fri, 14 Nov 2014 15:22:15 +0000"  >&lt;p&gt;ok thanks Manish&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|hzw90v:</customfieldvalue>

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