<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:28:33 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-9711] Entry &apos;..&apos; not shown in lustre directory</title>
                <link>https://jira.whamcloud.com/browse/LU-9711</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Some customer reported that some directory has problem that the entry &apos;..&apos; is not present:&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;pwd; stat .; ls -la 
/lustre/home/i200/mjf-i200/work/HYDRA_nodotdot 
File: &apos;.&apos; 
Size: 4096 Blocks: 8 IO Block: 4096 directory 
Device: b40e0b0h/188801200d Inode: 216173336164617001 Links: 2 
Access: (0750/drwxr-x---) Uid: (29114/mjf-i200) Gid: (20002/ i200) 
Access: 2017-04-17 10:50:59.000000000 +0100 
Modify: 2017-04-17 10:49:07.000000000 +0100 
Change: 2017-04-17 10:50:48.000000000 +0100 
Birth: - 
total 4 
drwxr-x--- 2 mjf-i200 i200 4096 Apr 17 10:49 . 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Checking in the MDT, it seems to be there:&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@cirrus-mds1 ~]# debugfs -cR &apos;ls -l ROOT/home/i200/mjf-i200/work/HYDRA_nodotdot/&apos; /dev/mapper/vg_mdt0000_indy2lfs-mdt0000
debugfs 1.42.13.wc5.ddn1 (15-Apr-2016)
/dev/mapper/vg_mdt0000_indy2lfs-mdt0000: catastrophic mode - not reading inode or group bitmaps
 244739512   40750 (2)  29114  20002    4096 17-Apr-2017 23:38 .
 244739468   40750 (2)  29114  20002    4096 19-Apr-2017 10:10 ..
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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@cirrus-mds1 ~]# debugfs -cR &apos;stat ROOT/home/i200/mjf-i200/work/HYDRA_nodotdot/&apos; /dev/mapper/vg_mdt0000_indy2lfs-mdt0000
debugfs 1.42.13.wc5.ddn1 (15-Apr-2016)
/dev/mapper/vg_mdt0000_indy2lfs-mdt0000: catastrophic mode - not reading inode or group bitmaps
Inode: 244739512   Type: directory    Mode:  0750   Flags: 0x0
Generation: 1458826816    Version: 0x00000027:1d3fe408
User: 29114   Group: 20002   Project:     0   Size: 4096
File ACL: 0    Directory ACL: 0
Links: 2   Blockcount: 8
Fragment:  Address: 0    Number: 0    Size: 0
 ctime: 0x58f54401:00000000 -- Mon Apr 17 23:38:57 2017
 atime: 0x58f9d240:00000000 -- Fri Apr 21 10:34:56 2017
 mtime: 0x58f54401:00000000 -- Mon Apr 17 23:38:57 2017
crtime: 0x58d10bbd:6e447984 -- Tue Mar 21 11:17:17 2017
Size of extra inode fields: 32
Extended attributes stored in inode body:
  lma = &quot;00 00 00 00 00 00 00 00 00 81 00 00 03 00 00 00 29 cb 00 00 00 00 00 00 &quot; (24)
  lma: fid=[0x300008100:0xcb29:0x0] compat=0 incompat=0
  link = &quot;df f1 ea 11 01 00 00 00 38 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 03 00 00 81 00 00 01 8d 14 00 00 00 00 48 59 44 52 41 5f 6e 6f 64 6f 74 64 6f 74 &quot; (56)
BLOCKS:
(0):122441712
TOTAL: 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;Looking at the parent directory with debugfs:&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@cirrus-mds1 ~]# debugfs -cR &apos;ls -l ROOT/home/i200/mjf-i200/work/&apos; /dev/mapper/vg_mdt0000_indy2lfs-mdt0000
debugfs 1.42.13.wc5.ddn1 (15-Apr-2016)
/dev/mapper/vg_mdt0000_indy2lfs-mdt0000: catastrophic mode - not reading inode or group bitmaps
 244739468   40750 (2)  29114  20002    4096 19-Apr-2017 10:10 .
 236208657   40750 (18)  29114  20002    4096 20-Apr-2017 18:15 ..
 244739512   40750 (18)  29114  20002    4096 17-Apr-2017 23:38 HYDRA_nodotdot
 254185195   40750 (18)  29114  20002    4096 17-Apr-2017 23:37 HYDRA_dotdot
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="46857">LU-9711</key>
            <summary>Entry &apos;..&apos; not shown in lustre directory</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="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="6">Not a Bug</resolution>
                                        <assignee username="yong.fan">nasf</assignee>
                                    <reporter username="yong.fan">nasf</reporter>
                        <labels>
                    </labels>
                <created>Mon, 26 Jun 2017 11:02:29 +0000</created>
                <updated>Tue, 27 Jun 2017 02:08:08 +0000</updated>
                            <resolved>Mon, 26 Jun 2017 11:07:08 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="200194" author="yong.fan" created="Mon, 26 Jun 2017 11:07:08 +0000"  >&lt;p&gt;Sorry, the issue only exists on b_ieel3_0. Master has already resolve it.&lt;/p&gt;</comment>
                            <comment id="200300" author="yong.fan" created="Tue, 27 Jun 2017 02:08:08 +0000"  >&lt;p&gt;According to latest implementation on master, if the system upgrade from Lustre-1.8, or the 2.x system restored from MDT file-level backup, then there may be NOT FID-in-dirent for the &quot;..&quot; entry, because:&lt;/p&gt;

&lt;p&gt;1) There may be NOT enough space to hold the FID-in-dirent after the &quot;..&quot; entry. We do NOT want to re-insert &quot;..&quot; entry to avoid moving &quot;..&quot; to other non-2nd slots.&lt;br/&gt;
2) Only the &quot;..&quot; entry has no FID-in-dirent will not much affect the readdir() performance.&lt;/p&gt;

&lt;p&gt;As I remembered that I have ever made some patch about updating &quot;..&quot; entry for rename case. I suspected that your trouble of &quot;..&quot; relocated to other slot may be caused by some old improperly rename.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </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|hzzfnz:</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>