<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:42:48 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>[LUDOC-421] document LFSCK filename types in lost+found</title>
                <link>https://jira.whamcloud.com/browse/LUDOC-421</link>
                <project id="10070" key="LUDOC">Lustre Documentation</project>
                    <description>&lt;p&gt;LFSCK will link orphan objects into the &lt;tt&gt;.lustre/lost+found/MDTxxxx/&lt;/tt&gt; subdirectories (one per MDT) with filenames like &lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0x20000205c:0x15dc1:0x0&amp;#93;&lt;/span&gt;&amp;#45;R&amp;#45;0&lt;/tt&gt; or similar, but I can&apos;t find any user documentation for what the &lt;tt&gt;&amp;#45;R&amp;#45;&lt;/tt&gt; and other file types mean.&lt;/p&gt;

&lt;p&gt;Looking at the code, I see in &lt;tt&gt;lfsck_namespace_insert_orphan()&lt;/tt&gt;:&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; * \param[in] infix     additional information for the orphan name, such as
 *                      the FID for original
 * \param[in] type      the type for describing why the orphan MDT-object is
 *                      created. The rules are as following:
 *  type &quot;D&quot;:           The MDT-object is a directory, it may knows its parent
 *                      but because there is no valid linkEA, the LFSCK cannot
 *                      know where to put it back to the namespace.
 *  type &quot;O&quot;:           The MDT-object has no linkEA, and there is no name
 *                      entry that references the MDT-object.
 *      
 *  type &quot;S&quot;:           The orphan MDT-object is a shard of a striped directory
 * The orphan name will be like:
 * ${FID}-${infix}-${type}-${conflict_version}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;and in &lt;tt&gt;lfsck_layout_recreate_parent()&lt;/tt&gt;:&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; * \param[in] infix     additional information, such as the FID for original
 *                      MDT-object and the stripe offset in the LOV EA
 * \param[in] type      the type for describing why the orphan MDT-object is
 *                      created. The rules are as following:
 *  type &quot;C&quot;:           Multiple OST-objects claim the same MDT-object and the
 *                      same slot in the layout EA. Then the LFSCK will create
 *                      new MDT-object(s) to hold the conflict OST-object(s).
 *
 *  type &quot;N&quot;:           The orphan OST-object does not know which one was the
 *                      real parent MDT-object, so the LFSCK uses new FID for
 *                      its parent MDT-object.
 *
 *  type &quot;R&quot;:           The orphan OST-object knows its parent MDT-object FID,
 *                      but does not know the position (the file name) in the
 *                      layout.
 *
 *  type &quot;D&quot;:           The MDT-object is a directory, it may knows its parent
 *                      but because there is no valid linkEA, the LFSCK cannot
 *                      know where to put it back to the namespace.
 *  type &quot;O&quot;:           The MDT-object has no linkEA, and there is no name
 *                      entry that references the MDT-object.
 *
 *  type &quot;P&quot;:           The orphan object to be created was a parent directory
 *                      of some MDT-object which linkEA shows that the @orphan
 *                      object is missing.
 *
 * The orphan name will be like:
 * ${FID}-${infix}-${type}-${conflict_version}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;These should be added to the &lt;tt&gt;lctl-lfsck_start.8&lt;/tt&gt; man page, as well as the user manual, so that users have some idea what should be done to repair those files.&lt;/p&gt;</description>
                <environment></environment>
        <key id="54209">LUDOC-421</key>
            <summary>document LFSCK filename types in lost+found</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="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="LM-Triage">Lustre Manual Triage</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 6 Dec 2018 22:02:15 +0000</created>
                <updated>Thu, 6 Dec 2018 22:02:15 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                    <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|i007hz:</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>