<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:22:51 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-9052] lod_verify_md_striping()) lsh-MDT0000-mdtlov: invalid lmv_user_md: magic = cd20cd0</title>
                <link>https://jira.whamcloud.com/browse/LU-9052</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;We just unleashed users on our new Lustre 2.8 DNE1 filesystem. Some users are migrating data from older Lustre 2.5 filesystems. I started seeing messages like these on an MDT:&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;Jan 25 12:56:45 zinc1 kernel: LustreError: 98053:0:(lod_object.c:1370:lod_verify_md_striping()) lsh-MDT0000-mdtlov: invalid lmv_user_md: magic = cd20cd0, stripe_offset = 4, stripe_count = 1: rc = -22
Jan 25 12:56:45 zinc1 kernel: LustreError: 98053:0:(lod_object.c:1370:lod_verify_md_striping()) Skipped 6 previous similar messages
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I haven&apos;t yet tracked down what client-side process is producing these. I notice the magic value &#160;reported in the message (0x0CD20CD0) is &lt;tt&gt;LMV_MAGIC_V1&lt;/tt&gt; and that message is produced when the &lt;tt&gt;lum-&amp;gt;lum_magic !=&#160;LMV_USER_MAGIC&lt;/tt&gt;&#160;(0x0CD30CD0).&#160;My hunch is that this is related to users copying files that have their striping layouts stored in v1 format from the older 2.5 filesystems. However I haven&apos;t been able to reproduce it that way myself.&lt;/p&gt;</description>
                <environment>&lt;a href=&quot;ssh://review.whamcloud.com/fs/lustre-release-fe-llnl&quot;&gt;ssh://review.whamcloud.com/fs/lustre-release-fe-llnl&lt;/a&gt;</environment>
        <key id="43345">LU-9052</key>
            <summary>lod_verify_md_striping()) lsh-MDT0000-mdtlov: invalid lmv_user_md: magic = cd20cd0</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="di.wang">Di Wang</assignee>
                                    <reporter username="nedbass">Ned Bass</reporter>
                        <labels>
                            <label>llnl</label>
                    </labels>
                <created>Wed, 25 Jan 2017 21:50:12 +0000</created>
                <updated>Fri, 2 Feb 2018 18:28:51 +0000</updated>
                            <resolved>Wed, 22 Nov 2017 14:48:22 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.11.0</fixVersion>
                    <fixVersion>Lustre 2.10.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="182178" author="di.wang" created="Wed, 25 Jan 2017 22:25:31 +0000"  >&lt;p&gt;These fail magic number should not come from the old data, i.e. it has to come from client. I assume all clients are 2.8 now?  Is that possible those application still use the old lustre user lib? then they need rebuild their application. &lt;/p&gt;</comment>
                            <comment id="182186" author="nedbass" created="Wed, 25 Jan 2017 23:17:02 +0000"  >&lt;blockquote&gt;&lt;p&gt;I assume all clients are 2.8 now?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Hi Di. No, there are also some 2.5 clients. Our data transfer nodes are running Lustre 2.5 and mount both the new 2.8 filesystem and the older 2.5 filesystems. That is where users can move their data between filesystems.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Is that possible those application still use the old lustre user lib? then they need rebuild their application.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I tried creating a file on the new filesystem with the 2.5 version of liblustreapi but it doesn&apos;t reproduce the error.&lt;/p&gt;</comment>
                            <comment id="182189" author="di.wang" created="Wed, 25 Jan 2017 23:36:06 +0000"  >&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;I tried creating a file on the new filesystem with the 2.5 version of liblustreapi but it doesn&apos;t reproduce the error.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;you mean create a striped directory from 2.5 client to a 2.8 MDSs? Hmm, in 2.5, it still use #define LMV_USER_MAGIC    0x0CD20CD0    /&lt;b&gt;default lmv magic&lt;/b&gt;/, if you tried to create a striped directory with old liblustreapi, it may cause this failure. &lt;/p&gt;</comment>
                            <comment id="182193" author="nedbass" created="Thu, 26 Jan 2017 00:00:41 +0000"  >&lt;blockquote&gt;&lt;p&gt;you mean create a striped directory from 2.5 client to a 2.8 MDSs?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;No, I just used the example program from the &lt;tt&gt;llapi_file_open()&lt;/tt&gt; man page to create a file in an existing directory. Note that we&apos;re using DNE1, so all our remote directories have a stripe count of 1.&lt;/p&gt;</comment>
                            <comment id="182194" author="nedbass" created="Thu, 26 Jan 2017 00:12:02 +0000"  >&lt;p&gt;Ah, you&apos;re right. This seems to be coming from &lt;tt&gt;lfs mkdir&lt;/tt&gt; on the 2.5 client. We have an automated process that creates user directories when new users are added. Despite the error the user directory still gets created with the requested MDT index. Would it be safe for lod_verify_md_striping() to accept the V1 magic so we don&apos;t see this error all the time?&lt;/p&gt;</comment>
                            <comment id="182215" author="di.wang" created="Thu, 26 Jan 2017 05:51:09 +0000"  >&lt;p&gt;Ned, ah, yes, this check will only be used in create striped directory process (lod_ah_init()), which is a void function. That is why it did not return invalid for lfs mkdir.  Yes, it should be safe to also accept V1 user magic. I will cook the patch. Thanks.&lt;/p&gt;</comment>
                            <comment id="182224" author="gerrit" created="Thu, 26 Jan 2017 06:58:14 +0000"  >&lt;p&gt;wangdi (di.wang@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/25091&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25091&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9052&quot; title=&quot;lod_verify_md_striping()) lsh-MDT0000-mdtlov: invalid lmv_user_md: magic = cd20cd0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9052&quot;&gt;&lt;del&gt;LU-9052&lt;/del&gt;&lt;/a&gt; lod: accept lfs mkdir from old client&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 7740f547ad9cce8bc2552ca7f1499ccd4266a2bd&lt;/p&gt;</comment>
                            <comment id="214393" author="gerrit" created="Wed, 22 Nov 2017 03:54:58 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/25091/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25091/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9052&quot; title=&quot;lod_verify_md_striping()) lsh-MDT0000-mdtlov: invalid lmv_user_md: magic = cd20cd0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9052&quot;&gt;&lt;del&gt;LU-9052&lt;/del&gt;&lt;/a&gt; lod: accept lfs mkdir from old client&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 069f593572509d6ee285ba6ea8950101ccb62d72&lt;/p&gt;</comment>
                            <comment id="214432" author="pjones" created="Wed, 22 Nov 2017 14:48:22 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                            <comment id="216334" author="gerrit" created="Thu, 14 Dec 2017 18:19:31 +0000"  >&lt;p&gt;Minh Diep (minh.diep@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/30542&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30542&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9052&quot; title=&quot;lod_verify_md_striping()) lsh-MDT0000-mdtlov: invalid lmv_user_md: magic = cd20cd0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9052&quot;&gt;&lt;del&gt;LU-9052&lt;/del&gt;&lt;/a&gt; lod: accept lfs mkdir from old client&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 58b021215cdd6be263a608faf60a18f7819b63f9&lt;/p&gt;</comment>
                            <comment id="219865" author="gerrit" created="Fri, 2 Feb 2018 17:17:41 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/30542/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30542/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9052&quot; title=&quot;lod_verify_md_striping()) lsh-MDT0000-mdtlov: invalid lmv_user_md: magic = cd20cd0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9052&quot;&gt;&lt;del&gt;LU-9052&lt;/del&gt;&lt;/a&gt; lod: accept lfs mkdir from old client&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8a760d5ef83a5fb697a61ff38f7182f8a50968d8&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </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|hzz1qn:</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>