<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:21:46 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-2029] Can no longer permanently set readcache_max_filesize</title>
                <link>https://jira.whamcloud.com/browse/LU-2029</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;While messing around in cache control settings I noticed that I can no longer permanently set readcache_max_filesize with any of the known methods. In all cases I get errors:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@mgs ~&amp;#93;&lt;/span&gt;# lctl conf_param obdfilter.lustre-OST0003.readcache_max_filesize=1M&lt;br/&gt;
error: conf_param: Cannot allocate memory&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@mgs ~&amp;#93;&lt;/span&gt;# lctl conf_param lustre.obdfilter.readcache_max_filesize=1M&lt;br/&gt;
Make sure cfg_device is set first.&lt;/p&gt;

&lt;p&gt;Per a tips and tricks discussion adilger gave at LUG2010 the recommended method was:&lt;/p&gt;

&lt;p&gt;&amp;lt;fs&amp;gt;.&amp;lt;subsys&amp;gt;.readcache_max_filesize however this no longer appears to work.&lt;/p&gt;

&lt;p&gt;Am I just doing this wrong or is this really a bug?&lt;/p&gt;

&lt;p&gt;-cf&lt;/p&gt;</description>
                <environment></environment>
        <key id="16120">LU-2029</key>
            <summary>Can no longer permanently set readcache_max_filesize</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="6">Not a Bug</resolution>
                                        <assignee username="yujian">Jian Yu</assignee>
                                    <reporter username="cfaber#1">Colin Faber [X]</reporter>
                        <labels>
                    </labels>
                <created>Tue, 25 Sep 2012 14:47:46 +0000</created>
                <updated>Fri, 28 Sep 2012 08:56:28 +0000</updated>
                            <resolved>Fri, 28 Sep 2012 08:56:28 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="45635" author="pjones" created="Thu, 27 Sep 2012 12:18:59 +0000"  >&lt;p&gt;Yujian &lt;/p&gt;

&lt;p&gt;could you please see if this can be reproduced? &lt;/p&gt;

&lt;p&gt;thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="45637" author="cfaber" created="Thu, 27 Sep 2012 12:26:32 +0000"  >&lt;p&gt;Hi Peter, it seems format change addresses this:&lt;/p&gt;

&lt;p&gt;lctl conf_param &amp;lt;fs&amp;gt;-OST&amp;lt;NNNN&amp;gt;.ost.readcache_max_filesize=NN&lt;/p&gt;

&lt;p&gt;So at this point this can be addressed as documentation issue.&lt;/p&gt;

&lt;p&gt;-cf&lt;/p&gt;</comment>
                            <comment id="45718" author="yujian" created="Fri, 28 Sep 2012 08:56:28 +0000"  >&lt;p&gt;Hello Colin,&lt;/p&gt;

&lt;p&gt;I just checked Lustre manual and found the following section described the format clearly:&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;13.8.3.2. Setting Permanent Parameters
Use the lctl conf_param command to set permanent parameters. In general, the lctl conf_param command can be used to specify any parameter settable in a /proc/fs/lustre file, with its own OBD device. The lctl conf_param command uses this syntax (same as the mkfs.lustre and tunefs.lustre commands):
&amp;lt;obd|fsname&amp;gt;.&amp;lt;obdtype&amp;gt;.&amp;lt;proc_file_name&amp;gt;=&amp;lt;value&amp;gt;

Here are a few examples of lctl conf_param commands:
$ mgs&amp;gt; lctl conf_param testfs-MDT0000.sys.timeout=40
$ lctl conf_param testfs-MDT0000.mdt.identity_upcall=NONE
$ lctl conf_param testfs.llite.max_read_ahead_mb=16
$ lctl conf_param testfs-MDT0000.lov.stripesize=2M
$ lctl conf_param testfs-OST0000.osc.max_dirty_mb=29.15
$ lctl conf_param testfs-OST0000.ost.client_cache_seconds=15
$ lctl conf_param testfs.sys.timeout=40

Caution
Parameters specified with the lctl conf_param command are set permanently in the file system&apos;s configuration file on the MGS.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So, I think we can close this ticket.&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|hzv3vj:</customfieldvalue>

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