<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:14:29 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-1203] When upgrading from Lustre 1.8 to 2.1, if the parameter root_squash is set, Lustre throws an error and denies mounting the filesystem. It&apos;s necessary to completely delete the parameter </title>
                <link>https://jira.whamcloud.com/browse/LU-1203</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When upgrading from Lustre 1.8 to 2.1, if the parameter rootsquash is set, Lustre throws an error and denies mounting the filesystem. This is the error from the MDS logs: &lt;/p&gt;

&lt;p&gt;Mar  7 20:03:35 mds01 kernel: LustreError: 6610:0:(obd_config.c:1140:class_process_proc_param()) home-MDT0000: unknown param rootsquash=99:99&lt;br/&gt;
Mar  7 20:03:35 mds01 kernel: LustreError: 6610:0:(obd_config.c:1361:class_config_llog_handler()) Err -38 on cfg command:&lt;br/&gt;
Mar  7 20:03:35 mds01 kernel: Lustre:    cmd=cf00f 0:home-MDT0000  1:mdt.rootsquash=99:99 &lt;br/&gt;
Mar  7 20:03:35 mds01 kernel: LustreError: 15c-8: MGC172.16.4.3 at tcp: The configuration from log &apos;home-MDT0000&apos; failed (-38). This may be the result of communication errors between this node and the MGS, a bad configuration, or other errors. See the syslog for more information.&lt;br/&gt;
Mar  7 20:03:35 mds01 kernel: LustreError: 6124:0:(obd_mount.c:1192:server_start_targets()) failed to start server home-MDT0000: -38&lt;br/&gt;
Mar  7 20:03:35 mds01 kernel: LustreError: 6124:0:(obd_mount.c:1723:server_fill_super()) Unable to start targets: -38&lt;br/&gt;
Mar  7 20:03:35 mds01 kernel: Lustre: Failing over home-MDT0000&lt;/p&gt;

&lt;p&gt;We were able to overcome this using tunefs.lustre with the option --writeconf added. This should be managed automatically (ideally, migrating the configuration) or at least, documented. &lt;/p&gt;</description>
                <environment>Scientific Linux 5.5 (servers), Scientific Linux 5.5 &amp;amp; 6.2 (clients)</environment>
        <key id="13520">LU-1203</key>
            <summary>When upgrading from Lustre 1.8 to 2.1, if the parameter root_squash is set, Lustre throws an error and denies mounting the filesystem. It&apos;s necessary to completely delete the parameter </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="yujian">Jian Yu</assignee>
                                    <reporter username="ansanz">Antonio Sanz</reporter>
                        <labels>
                            <label>migration</label>
                            <label>root_squash,</label>
                            <label>writeconf</label>
                    </labels>
                <created>Mon, 12 Mar 2012 11:55:57 +0000</created>
                <updated>Tue, 16 Apr 2013 22:23:50 +0000</updated>
                            <resolved>Thu, 27 Sep 2012 16:49:18 +0000</resolved>
                                    <version>Lustre 2.1.0</version>
                    <version>Lustre 2.2.0</version>
                    <version>Lustre 2.3.0</version>
                    <version>Lustre 2.1.2</version>
                                    <fixVersion>Lustre 2.3.0</fixVersion>
                    <fixVersion>Lustre 2.4.0</fixVersion>
                    <fixVersion>Lustre 2.1.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="30863" author="adilger" created="Mon, 12 Mar 2012 13:58:44 +0000"  >&lt;p&gt;I agree that this should be handled internally to the MDT code in mdt_process_config() by renaming the parameter.  The new parameter is called &quot;mdt.root_squash&quot; (note underscore).&lt;/p&gt;

&lt;p&gt;This was done similarly for the quota configuration in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-110&quot; title=&quot;Allow the use of a 2.0 MDS on a filesystem with a 1.8 disk format&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-110&quot;&gt;&lt;del&gt;LU-110&lt;/del&gt;&lt;/a&gt; (&lt;a href=&quot;http://review.whamcloud.com/354&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/354&lt;/a&gt;).&lt;/p&gt;</comment>
                            <comment id="35105" author="pjones" created="Thu, 19 Apr 2012 13:05:20 +0000"  >&lt;p&gt;YuJian&lt;/p&gt;

&lt;p&gt;Could you please look into this one?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="38147" author="yujian" created="Fri, 4 May 2012 09:21:31 +0000"  >&lt;p&gt;The old &quot;mdt.nosquash_nid&quot; parameter also needs to be renamed to &quot;mdt.nosquash_nids&quot;.&lt;/p&gt;</comment>
                            <comment id="38293" author="yujian" created="Tue, 8 May 2012 06:39:14 +0000"  >&lt;p&gt;Patch for master branch: &lt;a href=&quot;http://review.whamcloud.com/2680&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/2680&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="41289" author="yujian" created="Thu, 28 Jun 2012 23:47:37 +0000"  >&lt;blockquote&gt;&lt;p&gt;Patch for master branch: &lt;a href=&quot;http://review.whamcloud.com/2680&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/2680&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The above patch was landed on master branch.&lt;/p&gt;

&lt;p&gt;Here is the patch for b2_1 branch: &lt;a href=&quot;http://review.whamcloud.com/3237&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/3237&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="41854" author="yujian" created="Sat, 14 Jul 2012 03:51:50 +0000"  >&lt;p&gt;The patches have been landed on master and b2_1 branches.&lt;/p&gt;

&lt;p&gt;The remaining work on this ticket is to improve the patch on master branch to handle more parameters as per the suggestion from Andreas on &lt;a href=&quot;http://review.whamcloud.com/3237&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/3237&lt;/a&gt; :&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;File lustre/mdt/mdt_handler.c&lt;br/&gt;
Line 4779: 				   strlen(CFG_NOSQUASH_NID_OLD)) == 0 &amp;amp;&amp;amp;&lt;br/&gt;
If this list gets any longer (which I suspect it will, due to Di&apos;s patch &lt;a href=&quot;http://review.whamcloud.com/1418&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/1418&lt;/a&gt; to split the MDT thread handling) then this should be modified to use an array of { &quot;old&quot;, &quot;new&quot; } parameters, and if &quot;new&quot; is NULL then the parameter is obsolete and discarded.  Then, the above code will just be a loop comparing the parameter against each &quot;old&quot; entry, and ending the loop if it matched, or &quot;old&quot; is NULL.&lt;/p&gt;

&lt;p&gt;I don&apos;t insist on this today, but since the code is already being changed, and will need to change again in the near future, it would be better to just get it right for the long term.&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="44030" author="yujian" created="Fri, 31 Aug 2012 07:09:29 +0000"  >&lt;blockquote&gt;&lt;p&gt;The remaining work on this ticket is to improve the patch on master branch to handle more parameters as per the suggestion from Andreas.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Patch for master branch: &lt;a href=&quot;http://review.whamcloud.com/3836&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/3836&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="44338" author="yujian" created="Thu, 6 Sep 2012 23:20:11 +0000"  >&lt;p&gt;Patch for b2_1 branch: &lt;a href=&quot;http://review.whamcloud.com/3900&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/3900&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The one for master branch has been landed and also cherry-picked on b2_3 branch.&lt;/p&gt;</comment>
                            <comment id="45656" author="jlevi" created="Thu, 27 Sep 2012 16:49:18 +0000"  >&lt;p&gt;Please reopen ticket if there is additional work needed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="16647">LU-2308</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|hzv5pj:</customfieldvalue>

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