<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:42:27 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>[LUDOC-377] Lustre Manual Bug Report: 25.2.2. Enabling and Tuning Root Squash</title>
                <link>https://jira.whamcloud.com/browse/LUDOC-377</link>
                <project id="10070" key="LUDOC">Lustre Documentation</project>
                    <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I think I&#8217;ve found a bug in the manual: &lt;a href=&quot;https://build.hpdd.intel.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#dbdoclet.50438221_48757&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.hpdd.intel.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#dbdoclet.50438221_48757&lt;/a&gt; I&#8217;ve included it below in case this is the correct place to report it. If not please let me know and I&#8217;ll submit it elsewhere.&lt;/p&gt;

&lt;p&gt;In section 25.2.2. Enabling and Tuning Root Squash, the bit that says:&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;Root squash parameters can also be changed with the lctl conf_param command. For example:

mgs# lctl conf_param testfs.mdt.root_squash=&quot;1000:101&quot;
mgs# lctl conf_param testfs.mdt.nosquash_nids=&quot;*@tcp&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Should be IMHO:&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;Root squash parameters can also be changed with the lctl conf_param command. For example:

mgs# lctl conf_param mdt.testfs-MDT0000.root_squash=&quot;1000:101&quot;
mgs# lctl conf_param mdt.testfs-MDT0000.nosquash_nids=&quot;*@tcp&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Here is an example of me using my version compared to the documentation version using Lustre 2.8 on RHEL 7:&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;0 edi-vf-1-5:audiodb-MDT0000# lctl get_param mdt.audiodb-MDT0000.root_squash
mdt.audiodb-MDT0000.root_squash=0:0
0 edi-vf-1-5:audiodb-MDT0000# lctl set_param mdt.audiodb-MDT0000.root_squash=&quot;0:1&quot;
mdt.audiodb-MDT0000.root_squash=0:1
0 edi-vf-1-5:audiodb-MDT0000# lctl get_param mdt.audiodb-MDT0000.root_squash
mdt.audiodb-MDT0000.root_squash=0:1
0 edi-vf-1-5:audiodb-MDT0000# lctl set_param mdt.audiodb-MDT0000.root_squash=&quot;0:0&quot;
mdt.audiodb-MDT0000.root_squash=0:0
# Using the documented version.
0 edi-vf-1-5:audiodb-MDT0000# lctl set_param audiodb.mdt.root_squash=&quot;0:1&quot;
error: set_param: param_path &apos;audiodb/mdt/root_squash&apos;: No such file or directory
0 edi-vf-1-5:audiodb-MDT0000#
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Yours&lt;br/&gt;
Faye Gibbins&lt;/p&gt;</description>
                <environment></environment>
        <key id="46532">LUDOC-377</key>
            <summary>Lustre Manual Bug Report: 25.2.2. Enabling and Tuning Root Squash</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="jgmitter">Joseph Gmitter</assignee>
                                    <reporter username="faye">Faye Gibbins</reporter>
                        <labels>
                    </labels>
                <created>Tue, 6 Jun 2017 12:58:23 +0000</created>
                <updated>Fri, 25 Jan 2019 15:22:47 +0000</updated>
                            <resolved>Fri, 25 Jan 2019 15:22:47 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="198269" author="faye" created="Tue, 6 Jun 2017 13:21:30 +0000"  >&lt;p&gt;I might be wrong but maybe conf_param should be set_param?&lt;/p&gt;</comment>
                            <comment id="201207" author="jgmitter" created="Thu, 6 Jul 2017 17:19:53 +0000"  >&lt;p&gt;There are two ways to setting root_squash:  conf_param and set_param.&lt;/p&gt;

&lt;p&gt;For conf_param, the documetation is correct on how to permanently set it (must be run on the mgs):&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;[root@rh73-mds1 ~]# lctl conf_param testfs.mdt.root_squash=&quot;1:0&quot;
[ 5260.733978] Lustre: Setting parameter testfs-MDT0000.mdt.root_squash in log testfs-MDT0000
[root@rh73-mds1 ~]# [ 5269.090417] Lustre: testfs-MDT0000: root_squash is set to 1:0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To retrieve the setting, the documentation is lacking.  From the mgs, it should be:&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;[root@rh73-mds1 ~]# lctl get_param mdt.*.root_squash
mdt.testfs-MDT0000.root_squash=1:0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;As you noted, you can also set it temporarily with set_param (or permanent with set_param -P).  This is not documented in the manual and the syntax you noted is correct:&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;[root@rh73-mds1 ~]# lctl set_param mdt.testfs-MDT0000.root_squash=&quot;1:0&quot;
[ 5189.989945] Lustre: testfs-MDT0000: root_squash is set to 1:0
mdt.testfs-MDT0000.root_squash=1:0
[root@rh73-mds1 ~]# lctl get_param mdt.*.root_squash
mdt.testfs-MDT0000.root_squash=1:0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="201214" author="gerrit" created="Thu, 6 Jul 2017 17:57:00 +0000"  >&lt;p&gt;Joseph Gmitter (joseph.gmitter@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/27954&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27954&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LUDOC-377&quot; title=&quot;Lustre Manual Bug Report: 25.2.2. Enabling and Tuning Root Squash&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LUDOC-377&quot;&gt;&lt;del&gt;LUDOC-377&lt;/del&gt;&lt;/a&gt; misc: cleanup of root squash settings&lt;br/&gt;
Project: doc/manual&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f67b3e17e907cd9ea3415c9b3ff66fad70511e3b&lt;/p&gt;</comment>
                            <comment id="236633" author="gerrit" created="Thu, 8 Nov 2018 07:02:48 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/27954/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27954/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LUDOC-377&quot; title=&quot;Lustre Manual Bug Report: 25.2.2. Enabling and Tuning Root Squash&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LUDOC-377&quot;&gt;&lt;del&gt;LUDOC-377&lt;/del&gt;&lt;/a&gt; misc: cleanup of root squash settings&lt;br/&gt;
Project: doc/manual&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 177f5c0ca6e004c8db5df8679c64f7491a6ce928&lt;/p&gt;</comment>
                            <comment id="240712" author="jgmitter" created="Fri, 25 Jan 2019 15:22:47 +0000"  >&lt;p&gt;Patch was landed a few months ago.&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_10040" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic</customfieldname>
                        <customfieldvalues>
                                        <label>server</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10030" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic/Theme</customfieldname>
                        <customfieldvalues>
                                        <label>Lustre-2.8.0</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzze9z:</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>