<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:35: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-10535] Improve error message handling when mirrored files are accessed by older clients</title>
                <link>https://jira.whamcloud.com/browse/LU-10535</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Issue extracted from the testing captured in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10286&quot; title=&quot;Verify the behaviors when mirrored files are being accessed by old clients&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10286&quot;&gt;&lt;del&gt;LU-10286&lt;/del&gt;&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;I have a system configured as 2.11 servers, one 2.11 client and one 2.9.0 client&lt;br/&gt;
1. on the 2.11 client, create 1 pfl file, 1 flr file with plain layout, and 1 flr file with composite layout&lt;br/&gt;
2. on the 2.9 client, got these messages when try to access these files and when I do &quot;ls -al&quot; :&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@onyx-77 lustre]# ls
foo-ext  foo-flr  foo-pfl  foo-plain-2.9
[root@onyx-77 lustre]# ls -al
[329391.090438] LustreError: 57728:0:(lov_internal.h:100:lsm_op_find()) unrecognized lsm_magic 0bd60bd0
[329391.102999] LustreError: 57728:0:(lov_internal.h:100:lsm_op_find()) Skipped 3 previous similar messages
[329391.115668] LustreError: 57728:0:(lov_pack.c:213:lov_verify_lmm()) bad disk LOV MAGIC: 0x0BD60BD0; dumping LMM (size=552):
[329391.130044] LustreError: 57728:0:(lov_pack.c:213:lov_verify_lmm()) Skipped 3 previous similar messages
[329391.142376] LustreError: 57728:0:(lov_pack.c:222:lov_verify_lmm()) FF0BFF0B2802000003000000010005000200000000000000000000000000000001000100100000000000000000000000FFFFFFFFFFFFFFFF10010000380000000000000000000000000000000000000001000200100000000000000000000000000010000000000048010000380000000000000000000000000000000000000002000200000000000000100000000000FFFFFFFFFFFFFFFFFF0100003800000000000000000000000000000000000000010003001000000000000000000000000000100000000000FF010000380000000000000000000000000000000000000002000300000000000000100000000000FFFFFFFFFFFFFFFFFF0100003800000000000000000000000000000000000000FF0BFF0B01000000030000000000000001040000020000000000100001000000040000000000000000000000000000000000000000000000FF0BFF0B01000000030000000000000001040000020000000000100001000000040000000000000000000000000000000000000001000000FF0BFF0B0100000003000000000000000104000002000000000010000200FFFF0000000000000000000000000000000000000000FFFFFFFFFF0BFF0B0100000003000000000000000104000002000000000010[329391.251564] LustreError: 57728:0:(lov_pack.c:222:lov_verify_lmm()) Skipped 3 previous similar messages
[329391.266288] LustreError: 57728:0:(lcommon_cl.c:181:cl_file_inode_init()) Failure to initialize cl object [0x200000401:0x3:0x0]: -22
[329391.283577] LustreError: 57728:0:(lcommon_cl.c:181:cl_file_inode_init()) Skipped 3 previous similar messages
[329391.296622] LustreError: 57728:0:(llite_lib.c:2300:ll_prep_inode()) new_inode -fatal: rc -22
[329391.307933] LustreError: 57728:0:(llite_lib.c:2300:ll_prep_inode()) Skipped 1 previous similar message
ls: cannot access foo-ext: Invalid argument
ls: cannot access foo-pfl: Invalid argument
ls: cannot access foo-flr: Invalid argument
total 8
drwxr-xr-x  3 root root 4096 Dec 22 15:56 .
drwxr-xr-x. 3 root root 4096 Dec 18 20:52 ..
-?????????? ? ?    ?       ?            ? foo-ext
-?????????? ? ?    ?       ?            ? foo-flr
-?????????? ? ?    ?       ?            ? foo-pfl
-rw-r--r--  1 root root    0 Dec 22 15:56 foo-plain-2.9
[root@onyx-77 lustre]# 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Andreas&apos; thoughts:  It probably makes sense to improve these error messages to consolidate them to at most one message per unknown magic, or similar. It probably isn&apos;t useful to dump the long hex string to the console.&lt;/p&gt;</description>
                <environment></environment>
        <key id="50323">LU-10535</key>
            <summary>Improve error message handling when mirrored files are accessed by older clients</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="yujian">Jian Yu</assignee>
                                    <reporter username="jgmitter">Joseph Gmitter</reporter>
                        <labels>
                            <label>FLR2</label>
                    </labels>
                <created>Fri, 19 Jan 2018 18:04:11 +0000</created>
                <updated>Thu, 9 Aug 2018 08:16:38 +0000</updated>
                            <resolved>Thu, 9 Aug 2018 08:16:38 +0000</resolved>
                                    <version>Lustre 2.11.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="218726" author="adilger" created="Sat, 20 Jan 2018 03:56:08 +0000"  >&lt;p&gt;Has there been a test with 2.10 clients accessing FLR files?&lt;/p&gt;</comment>
                            <comment id="223035" author="yujian" created="Sun, 11 Mar 2018 01:13:00 +0000"  >&lt;blockquote&gt;&lt;p&gt;Has there been a test with 2.10 clients accessing FLR files?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Yes. On Lustre 2.10 client, accessing and opening a mirrored file showed that:&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;# ls -l /mnt/testfs/mirrored_file 
-rw-r--r-- 1 root root 575221 Mar 11 01:11 /mnt/testfs/mirrored_file

# cat /mnt/testfs/mirrored_file 
cat: /mnt/testfs/mirrored_file: Operation not supported
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="223362" author="yujian" created="Mon, 12 Mar 2018 19:49:25 +0000"  >&lt;p&gt;Hi Andreas,&lt;/p&gt;

&lt;p&gt;The following error messages only showed on Lustre 2.9 client while accessing a PFL or mirrored file. Do you think we need make changes to Lustre 2.9 client codes?&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;[162026.379112] LustreError: 12141:0:(lov_internal.h:100:lsm_op_find()) unrecognized lsm_magic 0bd60bd0
[162026.380180] LustreError: 12141:0:(lov_internal.h:100:lsm_op_find()) Skipped 1 previous similar message
[162026.381154] LustreError: 12141:0:(lov_pack.c:213:lov_verify_lmm()) bad disk LOV MAGIC: 0x0BD60BD0; dumping LMM (size=416):
[162026.382278] LustreError: 12141:0:(lov_pack.c:213:lov_verify_lmm()) Skipped 1 previous similar message
[162026.383244] LustreError: 12141:0:(lov_pack.c:222:lov_verify_lmm()) FF0BFF0BFF01000005000000010002000100000000000000000000000000000001000100100000000000000000000000FFFFFFFFFFFFFFFFFF000000600000000000000000000000000000000000000002000200100000000000000000000000FFFFFFFFFFFFFFFFFF000000FF00000000000000000000000000000000000000FF0BFF0B010000001E0000000000000001040000020000000000400002000000666C61736800000000000000000000000B00000000000000000000000000000000000000000000000B0000000000000000000000000000000000000001000000FF0BFF0B010000001E0000000000000001040000020000000000400006000000617263686976650000000000000000000A00000000000000000000000000000000000000060000000A00000000000000000000000000000000000000070000000900000000000000000000000000000000000000020000000900000000000000000000000000000000000000030000000B00000000000000000000000000000000000000040000000B0000000000000000000000000000000000000005000000
[162026.391274] LustreError: 12141:0:(lov_pack.c:222:lov_verify_lmm()) Skipped 1 previous similar message
[162026.392302] LustreError: 12141:0:(lcommon_cl.c:181:cl_file_inode_init()) Failure to initialize cl object [0x200000401:0x1e:0x0]: -22
[162026.393595] LustreError: 12141:0:(lcommon_cl.c:181:cl_file_inode_init()) Skipped 1 previous similar message
[162026.394669] LustreError: 12141:0:(llite_lib.c:2300:ll_prep_inode()) new_inode -fatal: rc -22
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="223363" author="adilger" created="Mon, 12 Mar 2018 20:05:30 +0000"  >&lt;p&gt;I don&apos;t think we need to fix 2.9 clients, but this message could still be improved in master for the future cases when a new layout type is hit.  For example, including the FID and pathname (if possible) in the message, moving the LMM dump to D_RPCTRACE (or other non-console error) and reducing the number of similar messages that appear on the console (e.g. we don&apos;t need all of &lt;tt&gt;lsm_op_find()&lt;/tt&gt;, &lt;tt&gt;lov_verify_lmm()&lt;/tt&gt;, &lt;tt&gt;cl_file_inode_init()&lt;/tt&gt;, and &lt;tt&gt;ll_prep_inode()&lt;/tt&gt; to print messages for this file).&lt;/p&gt;</comment>
                            <comment id="223369" author="yujian" created="Mon, 12 Mar 2018 21:32:20 +0000"  >&lt;p&gt;Thank you for the suggestion, Andreas.&lt;br/&gt;
I found lov_verify_lmm() had already been removed since Lustre 2.10 in patch &lt;a href=&quot;https://review.whamcloud.com/24849&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/24849&lt;/a&gt; for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8998&quot; title=&quot;Progressive File Layout (PFL)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8998&quot;&gt;&lt;del&gt;LU-8998&lt;/del&gt;&lt;/a&gt;. So, on Lustre 2.10 and master clients, there are no LMM dumping messages.&lt;br/&gt;
For FID information, it&apos;s already printed by cl_file_inode_init().&lt;/p&gt;
</comment>
                            <comment id="231657" author="yujian" created="Wed, 8 Aug 2018 18:18:23 +0000"  >&lt;p&gt;Hi Andreas,&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;I found lov_verify_lmm() had already been removed since Lustre 2.10 in patch &lt;a href=&quot;https://review.whamcloud.com/24849&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/24849&lt;/a&gt; for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8998&quot; title=&quot;Progressive File Layout (PFL)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8998&quot;&gt;&lt;del&gt;LU-8998&lt;/del&gt;&lt;/a&gt;. So, on Lustre 2.10 and master clients, there are no LMM dumping messages. For FID information, it&apos;s already printed by cl_file_inode_init().&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Could you please suggest if we still need to work on this ticket?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="49449">LU-10286</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|hzzref:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>