<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:10:54 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-14570] e2fsck reports &quot;Entry &apos;..&apos; an incorrect filetype (was 18, should be 1)&quot;</title>
                <link>https://jira.whamcloud.com/browse/LU-14570</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Running e2fsck on a DNE filesystem where LFSCK was run reported:&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;Entry &apos;..&apos; in &amp;lt;195395086&amp;gt;/&amp;lt;195395122&amp;gt; (195395122) has an incorrect filetype (was 18, should be 1).
Entry &apos;..&apos; in &amp;lt;602879868&amp;gt;/&amp;lt;602879869&amp;gt; (602879869) has an incorrect filetype (was 18, should be 1).
Entry &apos;..&apos; in &amp;lt;134818057&amp;gt;/&amp;lt;134818059&amp;gt; (134818059) has an incorrect filetype (was 18, should be 1).
Entry &apos;..&apos; in &amp;lt;134818057&amp;gt;/&amp;lt;134818064&amp;gt; (134818064) has an incorrect filetype (was 18, should be 1).
Entry &apos;..&apos; in &amp;lt;134818057&amp;gt;/&amp;lt;134818066&amp;gt; (134818066) has an incorrect filetype (was 18, should be 1).
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is because the entry &lt;tt&gt;file_type&lt;/tt&gt; has a flag &lt;tt&gt;EXT2_DIRENT_LUFID&lt;/tt&gt; when the &lt;tt&gt;dirdata&lt;/tt&gt; feature stores the FID in the directory entry, and it should be masked when checking the file type.&lt;/p&gt;</description>
                <environment></environment>
        <key id="63560">LU-14570</key>
            <summary>e2fsck reports &quot;Entry &apos;..&apos; an incorrect filetype (was 18, should be 1)&quot;</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="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="adilger">Andreas Dilger</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>e2fsck</label>
                    </labels>
                <created>Sun, 28 Mar 2021 09:06:47 +0000</created>
                <updated>Mon, 14 Nov 2022 16:14:12 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="319693" author="adilger" created="Tue, 30 Nov 2021 21:18:06 +0000"  >&lt;p&gt;The trail on this issue went a bit cold, but I&apos;m adding some notes of what I remember before it is lost completely:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;the fix is not as clear as it initially seemed, because the &quot;&lt;tt&gt;..&lt;/tt&gt;&quot; entry was actually pointing to an inode that is a &lt;b&gt;regular file&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;that is of course bad, because it means that there is a problem with the directory structure itself&lt;/li&gt;
	&lt;li&gt;the fix is not to change the file type in the &lt;tt&gt;..&lt;/tt&gt; dirent here, but to &quot;fix&quot; the parent directory itself so that it is a directory&lt;/li&gt;
	&lt;li&gt;it isn&apos;t clear in this case whether the type of the parent directory was lost/incorrect in the inode, and it &lt;em&gt;should&lt;/em&gt; be a directory, or if that is some random file?&lt;/li&gt;
	&lt;li&gt;if it is a random file, it would be better to reconnect this directory to &lt;tt&gt;lost+found&lt;/tt&gt; rather than trying to repair the dirent type, &lt;b&gt;unless&lt;/b&gt; the parent directory inode itself has the wrong type.  There is a &quot;try as directory&quot; check in e2fsck that could be used to see if the parent is really a valid directory&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="334918" author="artem_blagodarenko" created="Mon, 16 May 2022 07:03:11 +0000"  >&lt;p&gt;We have faced with the quite the same issue using rename stress test. Without LFSCK&#160;&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;
Entry &lt;span class=&quot;code-quote&quot;&gt;&apos;14,37275pp37273,aaaaaaaaaa,bbbbbbbbbb,cccccccccc,dddddddddd,eeeeeeeeee,ffffffffff,gggggggggg,hhh&apos;&lt;/span&gt; in /REMOTE_PARENT_DIR/0x24006497a:0x129bc:0x0 (4014289161) has an incorrect filetype (was 17, should be 2).
Fix? no
&#160; &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&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;
 &lt;span class=&quot;code-quote&quot;&gt;&apos;..&apos;&lt;/span&gt; in /REMOTE_PARENT_DIR/0x24006497a:0x129bc:0x0/14,37275pp37273,aaaaaaaaaa,bbbbbbbbbb,cccccccccc,dddddddddd,eeeeeeeeee,ffffffffff,gggggggggg,hhh (4014289162) is /REMOTE_PARENT_DIR (4030089985), should be /REMOTE_PARENT_DIR/0x24006497a:0x129bc:0x0 (4014289161).
Fix? no&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Another symptoms that looks related are&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;
Entry &lt;span class=&quot;code-quote&quot;&gt;&apos;0x24006b05d:0xa4c8:0x0&apos;&lt;/span&gt; in /REMOTE_PARENT_DIR (4030089985) is a link to directory /REMOTE_PARENT_DIR/0x24006497a:0x129bc:0x0/14,37275pp37273,aaaaaaaaaa,bbbbbbbbbb,cccccccccc,dddddddddd,eeeeeeeeee,ffffffffff,gggggggggg,hhh (4014289162 fid=[0x20006a4b1:0x42c6:0x0]).
Clear? no


Entry &lt;span class=&quot;code-quote&quot;&gt;&apos;0x24006afb0:0x3075:0x0&apos;&lt;/span&gt; in /REMOTE_PARENT_DIR (4030089985) is a link to directory /REMOTE_PARENT_DIR/0x24006497a:0x12a59:0x0/27,4155pp4153,aaaaaaaaaa,bbbbbbbbbb,cccccccccc,dddddddddd,eeeeeeeeee,ffffffffff,gggggggggg,hhhhhhhhhh,iiiiiiiiii,jjjjjjjjjj,kkkkkkkkkk,llllllllll, (2072103563).
Clear? no&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;
&lt;span class=&quot;code-quote&quot;&gt;&apos;..&apos;&lt;/span&gt; in /REMOTE_PARENT_DIR/0x24006497a:0x129bc:0x0/14,37275pp37273,aaaaaaaaaa,bbbbbbbbbb,cccccccccc,dddddddddd,eeeeeeeeee,ffffffffff,gggggggggg,hhh (4014289162) is /REMOTE_PARENT_DIR (4030089985), should be /REMOTE_PARENT_DIR/0x24006497a:0x129bc:0x0 (4014289161).
Fix? no
...
&lt;span class=&quot;code-quote&quot;&gt;&apos;..&apos;&lt;/span&gt; in /REMOTE_PARENT_DIR/0x24006497a:0x12a59:0x0/27,4155pp4153,aaaaaaaaaa,bbbbbbbbbb,cccccccccc,dddddddddd,eeeeeeeeee,ffffffffff,gggggggggg,hhhhhhhhhh,iiiiiiiiii,jjjjjjjjjj,kkkkkkkkkk,llllllllll, (2072103563) is /REMOTE_PARENT_DIR (4030089985), should be /REMOTE_PARENT_DIR/0x24006497a:0x12a59:0x0 (2072103562).
Fix? no&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="70637">LU-15913</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|i01qrz:</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>