<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:42:36 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-11291] recovering from LU-10437</title>
                <link>https://jira.whamcloud.com/browse/LU-11291</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;We has some files that were created with 2.11 client and 2.10.3 server that hit &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10437&quot; title=&quot;sanity-pfl test_8: dbench failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10437&quot;&gt;&lt;del&gt;LU-10437&lt;/del&gt;&lt;/a&gt; bug. We have since update our server to 2.10.5. But the old files still can&apos;t bee seen by the user. We get this.&lt;/p&gt;

&lt;p&gt;on 2.11 clients + updated 2.10.5 server&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;
$ ls -l
ls: cannot access &lt;span class=&quot;code-quote&quot;&gt;&apos;test&apos;&lt;/span&gt;: Invalid argument
total 1040384
-????????? ? ? ? ? ? test
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;on 2.10.3 clients + updated 2.10.5 server&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;
ls -l test
-rw------- yyyy xxx 8388608 Aug 28 15:44 test
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Only root can view them correctly.&lt;br/&gt;
Can we recover those files with-out  copying them. &lt;/p&gt;</description>
                <environment></environment>
        <key id="53142">LU-11291</key>
            <summary>recovering from LU-10437</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="5">Cannot Reproduce</resolution>
                                        <assignee username="yujian">Jian Yu</assignee>
                                    <reporter username="mhanafi">Mahmoud Hanafi</reporter>
                        <labels>
                    </labels>
                <created>Tue, 28 Aug 2018 23:06:03 +0000</created>
                <updated>Wed, 5 Oct 2022 23:28:46 +0000</updated>
                            <resolved>Wed, 5 Oct 2022 23:28:46 +0000</resolved>
                                    <version>Lustre 2.11.0</version>
                    <version>Lustre 2.10.3</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="232745" author="mhanafi" created="Wed, 29 Aug 2018 16:55:07 +0000"  >&lt;p&gt;here is what we get in the logs.&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;

[588862.457231] LustreError: 96988:0:(lcommon_cl.c:187:cl_file_inode_init()) Failure to initialize cl object [0x200000bd6:0xc7d1:0x0]: -22
[588862.457245] LustreError: 96988:0:(llite_lib.c:2357:ll_prep_inode()) new_inode -fatal: rc -22
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="232767" author="adilger" created="Wed, 29 Aug 2018 21:18:35 +0000"  >&lt;p&gt;If the problem relates to FLR functionality added in 2.11 as indicated in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10437&quot; title=&quot;sanity-pfl test_8: dbench failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10437&quot;&gt;&lt;del&gt;LU-10437&lt;/del&gt;&lt;/a&gt;, it is possible that running a layout LFSCK on the MDT would detect and correct this problem.  However, the FLR support for LFSCK was only recently landed (commit v2_11_53_0-33-g36ba989 patch &lt;a href=&quot;https://review.whamcloud.com/32705&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32705&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10288&quot; title=&quot;LFSCK support for mirrored files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10288&quot;&gt;&lt;del&gt;LU-10288&lt;/del&gt;&lt;/a&gt; lfsck: layout LFSCK for mirrored file&lt;/tt&gt;&quot;) so that functionality is not available in the MDS version you are using, nor in any released version to date.&lt;/p&gt;

&lt;p&gt;My recommendation would be to find the inaccessible files with a 2.11 client, and then use &quot;&lt;tt&gt;lfs migrate&lt;/tt&gt;&quot; on a 2.10 client to fix the layout.  Depending on what &quot;&lt;tt&gt;lfs getstripe -v&lt;/tt&gt;&quot; reports for such files (e.g. strange &lt;tt&gt;lcme_flags&lt;/tt&gt;) it may be possible to use something like &quot;&lt;tt&gt;lfs find /mnt/lustre --comp-count +1 --comp-flags=stale,prefer,offline&lt;/tt&gt;&quot; to find these files on a 2.10 client directly.  Depending on how many files the &lt;tt&gt;lfs find&lt;/tt&gt; operation locates, it may well be faster to migrate them to clear the flags rather than waiting for a code fix to be developed, tested, and be installed on your system.&lt;/p&gt;

&lt;p&gt;Jian,&lt;br/&gt;
for future usage, it would be desirable for &quot;&lt;tt&gt;lfs getstripe&lt;/tt&gt;&quot; to also print out unknown flags in hex form after it has printed all of the known flags, like &quot;&lt;tt&gt;init,prefer,0x18c40&lt;/tt&gt;&quot; so that we have some forward compatibility when new flags are added.  Similarly, &quot;&lt;tt&gt;lfs find&lt;/tt&gt;&quot; should be able to search for flags by hex value in addition to named flags for the same reason.  That would allow something like &quot;&lt;tt&gt;lfs find --comp-flags 0x7fffffe0 ...&lt;/tt&gt;&quot; to locate any files with flags that we don&apos;t currently have assigned.  It &lt;em&gt;might&lt;/em&gt; be desirable to allow a modified master &quot;&lt;tt&gt;lfs --component-set&lt;/tt&gt;&quot; to clear some the offending flags directly from the client without doing the migration, but that is not possible for all of the flags (e.g. &lt;tt&gt;stale&lt;/tt&gt; at least).  We might consider to allow clearing the &lt;tt&gt;stale&lt;/tt&gt; flag from a component if all of the &lt;tt&gt;init&lt;/tt&gt;&apos;d components in the file are stale.&lt;/p&gt;</comment>
                            <comment id="232802" author="yujian" created="Thu, 30 Aug 2018 14:58:58 +0000"  >&lt;p&gt;Sure, Andreas, I&apos;ll work on these improvements.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="45903">LU-9463</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="49991">LU-10437</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|i001dr:</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="10021"><![CDATA[2]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>