<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:37: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-3828] Default HSM Archive Identifier is not Persistent</title>
                <link>https://jira.whamcloud.com/browse/LU-3828</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The procfs tuneable parameter that is used to define the default HSM archive ID is cannot be set persistently using lctl conf_param or lctl set_param -P. This is by design and is in part because the &quot;hsm&quot; procfs subtree is not created unless and until the HSM feature is itself activated.&lt;/p&gt;

&lt;p&gt;The parameter variable is: mdt.&amp;lt;fsname&amp;gt;-MDT*.hsm.archive_id&lt;/p&gt;

&lt;p&gt;Please consider a mechanism whereby the system-wide default for the archive ID is stored persistently by the MGS, as it simplifies administration overhead and makes other features such as server failover behave more predictably.&lt;/p&gt;</description>
                <environment></environment>
        <key id="20585">LU-3828</key>
            <summary>Default HSM Archive Identifier is not Persistent</summary>
                <type id="7" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/task_agile.png">Technical task</type>
                            <parent id="20020">LU-3647</parent>
                                    <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="1">Fixed</resolution>
                                        <assignee username="jhammond">John Hammond</assignee>
                                    <reporter username="malkolm">Malcolm Cowe</reporter>
                        <labels>
                            <label>HSM</label>
                    </labels>
                <created>Fri, 23 Aug 2013 03:38:41 +0000</created>
                <updated>Tue, 1 Oct 2013 14:06:31 +0000</updated>
                            <resolved>Tue, 1 Oct 2013 14:06:31 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                                    <fixVersion>Lustre 2.5.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="64933" author="malkolm" created="Fri, 23 Aug 2013 03:45:22 +0000"  >&lt;p&gt;Original test case:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If I try to change the default archive ID using lctl conf_param instead of lctl set_param, the setting does not change.&lt;br/&gt;
Tested as follows:&lt;/p&gt;

&lt;p&gt;On mount, default archive is set to 1 and archive commands work as expected (when no archive is specified, default is selected automatically).&lt;/p&gt;

&lt;p&gt;Using lctl set_param to change the default works as expected and lfs hsm_archive command picks up the change.&lt;/p&gt;

&lt;p&gt;Using lctl hsm_archive with --archive works as expected.&lt;/p&gt;

&lt;p&gt;lctl conf_param does not work:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@m64-1 /&amp;#93;&lt;/span&gt;# lctl set_param mdt.scratch-MDT*.hsm.archive_id=2&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;mdt.scratch-MDT0000.hsm.archive_id=2&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@m64-1 /&amp;#93;&lt;/span&gt;# lctl get_param mdt.scratch-MDT*.hsm.archive_id&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;mdt.scratch-MDT0000.hsm.archive_id=2&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@m64-1 /&amp;#93;&lt;/span&gt;# lctl conf_param scratch-MDT*.mdt.hsm.archive_id=1&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@m64-1 /&amp;#93;&lt;/span&gt;# lctl get_param mdt.scratch-MDT*.hsm.archive_id&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;mdt.scratch-MDT0000.hsm.archive_id=2&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;I am assuming that this is the path one should use for conf_param. If I use conf_param the setting does not change.&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="65028" author="jcl" created="Sun, 25 Aug 2013 10:57:26 +0000"  >&lt;p&gt;This behavior is also true for all HSM tunable (except hsm_control). A solution is to make the proc hsm directory always visible even if HSM is off. If you agree on it I will work on a patch.&lt;/p&gt;</comment>
                            <comment id="65112" author="malkolm" created="Tue, 27 Aug 2013 00:09:23 +0000"  >&lt;p&gt;I agree that the feature is useful and would like to see it implemented. If making the hsm procfs directory visible is a straightforward fix, then it has my support but someone else has to make the call.&lt;/p&gt;</comment>
                            <comment id="65207" author="jcl" created="Tue, 27 Aug 2013 21:24:51 +0000"  >&lt;p&gt;It is not a &quot;straightforward fix&quot;, but the simplest I see. I will work on a patch. Can you validate the other patch, so I will base this new one on the other one (will simplify the review)&lt;/p&gt;</comment>
                            <comment id="65810" author="jcl" created="Thu, 5 Sep 2013 08:15:21 +0000"  >&lt;p&gt;Patch at &lt;a href=&quot;http://review.whamcloud.com/7557&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7557&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="68047" author="pjones" created="Tue, 1 Oct 2013 14:06:31 +0000"  >&lt;p&gt;Landed for 2.5.0&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|hzvz2f:</customfieldvalue>

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