<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:34:57 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-3559] MGS formatted with Lustre 2.1 cannot be started with Lustre 2.4</title>
                <link>https://jira.whamcloud.com/browse/LU-3559</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;With Lustre 2.1, I format an MGS with the follwing command:&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;mkfs.lustre --reformat --quiet --fsname=migrate --mgs
--mkfsoptions=&lt;span class=&quot;code-quote&quot;&gt;&quot;-m 0&quot;&lt;/span&gt; --device-size=204800 /root/mgt&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Before starting this MGS, tunefs.lustre gives:&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;# tunefs.lustre --print /root/mgt
checking for existing Lustre data: found CONFIGS/mountdata
Reading CONFIGS/mountdata

   Read previous values:
Target:     MGS
Index:      unassigned
Lustre FS:  migrate
Mount type: ldiskfs
Flags:      0x74
              (MGS needs_index first_time update )
Persistent mount opts: user_xattr,errors=remount-ro
Parameters:


   Permanent disk data:
Target:     MGS
Index:      unassigned
Lustre FS:  migrate
Mount type: ldiskfs
Flags:      0x74
              (MGS needs_index first_time update )
Persistent mount opts: user_xattr,errors=remount-ro
Parameters:
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Still with Lustre 2.1, I successfully start this MGS, and afterwards tunefs.lustre gives:&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;# tunefs.lustre --print /root/mgt
checking for existing Lustre data: found CONFIGS/mountdata
Reading CONFIGS/mountdata

   Read previous values:
Target:     MGS
Index:      unassigned
Lustre FS:  migrate
Mount type: ldiskfs
Flags:      0x74
              (MGS needs_index first_time update )
Persistent mount opts: user_xattr,errors=remount-ro
Parameters:


   Permanent disk data:
Target:     MGS
Index:      unassigned
Lustre FS:  migrate
Mount type: ldiskfs
Flags:      0x74
              (MGS needs_index first_time update )
Persistent mount opts: user_xattr,errors=remount-ro
Parameters:
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Then I update to Lustre 2.4 on my node, and when I try to start this MGS I get:&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;# mount -t lustre -o loop /root/mgt /mnt/migrate/mgt
mount.lustre.orig: /dev/loop0 has no index assigned (probably formatted with old mkfs)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;In Lustre 2.4, it seems mount.lustre requires every target, including MGT, to have an index. But with Lustre 2.1, MGTs can be formatted without specifying an index, and this is the way all our customers did. So if these customers migrate to Lustre 2.4, they will not be able to start their MGS.&lt;/p&gt;

&lt;p&gt;I will propose a patch for mount.lustre in Lustre 2.4 to address this issue.&lt;/p&gt;

&lt;p&gt;Sebastien.&lt;/p&gt;</description>
                <environment></environment>
        <key id="19695">LU-3559</key>
            <summary>MGS formatted with Lustre 2.1 cannot be started with Lustre 2.4</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <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="bfaccini">Bruno Faccini</assignee>
                                    <reporter username="sebastien.buisson">Sebastien Buisson</reporter>
                        <labels>
                    </labels>
                <created>Fri, 5 Jul 2013 11:30:06 +0000</created>
                <updated>Mon, 12 Aug 2013 18:21:26 +0000</updated>
                            <resolved>Mon, 12 Aug 2013 18:21:26 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                    <version>Lustre 2.5.0</version>
                                    <fixVersion>Lustre 2.4.1</fixVersion>
                    <fixVersion>Lustre 2.5.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="61837" author="sebastien.buisson" created="Fri, 5 Jul 2013 11:37:23 +0000"  >&lt;p&gt;The patch is at:&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/6904&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/6904&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;TIA,&lt;br/&gt;
Sebastien.&lt;/p&gt;</comment>
                            <comment id="61839" author="bfaccini" created="Fri, 5 Jul 2013 12:22:02 +0000"  >&lt;p&gt;Looks like a duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2022&quot; title=&quot;MGS fails to mount due to &amp;quot;has no index assigned (probably formatted with old mkfs&amp;quot; error&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2022&quot;&gt;&lt;del&gt;LU-2022&lt;/del&gt;&lt;/a&gt; at first reading, will verify this definitely and update soon.&lt;/p&gt;</comment>
                            <comment id="61840" author="sebastien.buisson" created="Fri, 5 Jul 2013 12:28:08 +0000"  >&lt;p&gt;Yes probably the issue described in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2022&quot; title=&quot;MGS fails to mount due to &amp;quot;has no index assigned (probably formatted with old mkfs&amp;quot; error&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2022&quot;&gt;&lt;del&gt;LU-2022&lt;/del&gt;&lt;/a&gt; is the same, but the solution that was adopted at that time (patch in mkfs.lustre) is useless in case of &apos;real&apos; migration from 2.1 to 2.4, because we cannot afford reformatting the MGS on production clusters.&lt;/p&gt;</comment>
                            <comment id="61841" author="bfaccini" created="Fri, 5 Jul 2013 13:45:37 +0000"  >&lt;p&gt;That&apos;s what I am trying to fully understand and why not advocate !! BTW, if it is the case, I think the test in your patch should better be something like :&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;if ((IS_MDT(ldd) || IS_OST(ldd)) &amp;amp;&amp;amp; (ldd-&amp;gt;ldd_flags &amp;amp; LDD_F_NEED_INDEX))
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;instead of only :&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;if (!IS_MGS(ldd) &amp;amp;&amp;amp; (ldd-&amp;gt;ldd_flags &amp;amp; LDD_F_NEED_INDEX))
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;to handle joint MGT/MDT case.&lt;/p&gt;</comment>
                            <comment id="61842" author="sebastien.buisson" created="Fri, 5 Jul 2013 14:00:49 +0000"  >&lt;p&gt;You are right about the joint MGS/MDT case, I have updated my patch accordingly.&lt;/p&gt;

&lt;p&gt;Concerning you other question, I can tell for sure that without this patch I simply cannot start my MGT &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;Sebastien.&lt;/p&gt;</comment>
                            <comment id="61885" author="bfaccini" created="Mon, 8 Jul 2013 14:02:03 +0000"  >&lt;p&gt;Ok, so seems that original (and identical to your!) fix for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2022&quot; title=&quot;MGS fails to mount due to &amp;quot;has no index assigned (probably formatted with old mkfs&amp;quot; error&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2022&quot;&gt;&lt;del&gt;LU-2022&lt;/del&gt;&lt;/a&gt; has been diverted for some reason (others missing index issues, DNE, ...) leading to this interop bug to be left not fixed.&lt;/p&gt;

&lt;p&gt;So now I will ask for some other reviewers. And re-trigger the change to auto-tests since it failed due to some known and currently worked-on test problem (LU-3560).&lt;/p&gt;

&lt;p&gt;On the other hand, and in case of absolute need without the fix in, you can allow your 2.1 formatted MGT to be mounted by/after :&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;       _ &quot;mount -t [ldiskfs,zfs]&quot; your MGT stand-alone device
       _ binary edit underlying &quot;CONFIGS/mountdata&quot; file
       _ change the unset/&quot;ffff&quot; MGT index value, at offset 0x18/24 in file, to &quot;0000&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="61886" author="bfaccini" created="Mon, 8 Jul 2013 14:06:08 +0000"  >&lt;p&gt;Seems that original fix for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2022&quot; title=&quot;MGS fails to mount due to &amp;quot;has no index assigned (probably formatted with old mkfs&amp;quot; error&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2022&quot;&gt;&lt;del&gt;LU-2022&lt;/del&gt;&lt;/a&gt; has been lost in its last change patch-set.&lt;/p&gt;</comment>
                            <comment id="61890" author="sebastien.buisson" created="Mon, 8 Jul 2013 15:11:53 +0000"  >&lt;p&gt;Gosh, the 2.1 MGT manipulation is not that easy...&lt;br/&gt;
This is why I would like to have the patch in the 2.4 release we will roll out to our customers &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;)&lt;/p&gt;</comment>
                            <comment id="62629" author="jlevi" created="Fri, 19 Jul 2013 16:35:58 +0000"  >&lt;p&gt;Patch landed to Master. Can this ticket be closed or is more work needed?&lt;/p&gt;</comment>
                            <comment id="62711" author="jlevi" created="Mon, 22 Jul 2013 16:32:45 +0000"  >&lt;p&gt;Patch landed to master, so closing ticket. If more work is needed, let me know and I will reopen.&lt;/p&gt;</comment>
                            <comment id="63250" author="sebastien.buisson" created="Tue, 30 Jul 2013 15:15:19 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I would like this ticket to be reopened as I have just pushed a b2_4 version of the patch:&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/7176&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7176&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Sebastien.&lt;/p&gt;</comment>
                            <comment id="63276" author="jlevi" created="Tue, 30 Jul 2013 17:08:31 +0000"  >&lt;p&gt;Reopened for b2_4 patch&lt;/p&gt;</comment>
                            <comment id="63354" author="bfaccini" created="Wed, 31 Jul 2013 08:40:46 +0000"  >&lt;p&gt;Added Li Wei and myself as reviewers.&lt;/p&gt;</comment>
                            <comment id="64105" author="pjones" created="Mon, 12 Aug 2013 18:21:26 +0000"  >&lt;p&gt;Landed for 2.4.1 and 2.5&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="16102">LU-2022</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hzvuof:</customfieldvalue>

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