<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:33:19 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-10243] Lustre_rsync  sync &quot;.lustre&quot; directory files</title>
                <link>https://jira.whamcloud.com/browse/LU-10243</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;&#160; I print these sync files in lustre_rsync&#160; .&lt;/p&gt;

&lt;p&gt;&amp;gt;&amp;gt;recno:2834414 type:create res:0 src:/mnt/client/.lustre/fid/&lt;span class=&quot;error&quot;&gt;&amp;#91;0x200001bc0:0x17fd2:0x0&amp;#93;&lt;/span&gt; &amp;gt;&amp;gt;dst:/mnt/cephfs/lustre-backup/.lustrerepl/&lt;span class=&quot;error&quot;&gt;&amp;#91;0x200001bc0:0x17fd2:0x0&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&#160; &#160;I do not&#160; known&#160; the .lustre directory real work.&#160;&lt;/p&gt;

&lt;p&gt;&#160; &#160; It seems like pseudo directory for fid2path function.&lt;/p&gt;

&lt;p&gt;&#160; &#160; These files in&#160;.lustre&#160;&#160;directory also to be synced to backend when do lustre_rsync.&lt;/p&gt;

&lt;p&gt;&#160; &#160; Is it ok?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="49333">LU-10243</key>
            <summary>Lustre_rsync  sync &quot;.lustre&quot; directory files</summary>
                <type id="9" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/undefined.png">Question/Request</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="1">Fixed</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="sebg-crd-pm">sebg-crd-pm</reporter>
                        <labels>
                    </labels>
                <created>Wed, 15 Nov 2017 08:04:39 +0000</created>
                <updated>Fri, 17 Nov 2017 18:19:20 +0000</updated>
                            <resolved>Fri, 17 Nov 2017 18:19:20 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="213746" author="bfaccini" created="Wed, 15 Nov 2017 10:31:58 +0000"  >&lt;p&gt;You are right, the .lustre is a special directory that allows to open files by FID via a specific access method, and lustre_rsync uses it extensively particularly to resolve path/tree discrepancies/changes, as described in lustre_rsync.c source file header/comments, where the destination .lustrerepl special directory is also used as a temporary location.&lt;/p&gt;</comment>
                            <comment id="213819" author="jhammond" created="Wed, 15 Nov 2017 18:13:24 +0000"  >&lt;p&gt;Just to amplify Bruno&apos;s comment, yes, this is correct and expected behavior.&lt;/p&gt;

&lt;p&gt;Is there anything else to do here?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="213888" author="sebg-crd-pm" created="Thu, 16 Nov 2017 06:16:22 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; I found there is something wrong when sync with striped directory.&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; Some directorys metadata (ex. ./dirA ) in MDT1 but there files(ex. disA/xxxx ) are in MDT0.&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; The directory did not created when sync MDT0 changelog first, then lustre_rsync put these files to .lustrerepl&#160;&#160; &#160; &#160; &#160;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; Do you have any suggestion to handle &#160;this case? (besides put directory and files in the same MDT) &#160;&#160;&#160;Thanks&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160;Test striped directory lustre_rsync steps.&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160;1. created striped directory and set default &#160;striped.&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160;&quot;lfs setdristripe -c 2 &#160;testdir&quot; and set default by &#160;&quot;lfs setdristripe -c 2 &#160;-D testdir&quot;&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; 2.copy some files with directorys to this directory&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; 3.do lustre_rsync MDT0000&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; &#160; 4.do lustre_rsync MDT0001 &#160;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="213914" author="jhammond" created="Thu, 16 Nov 2017 14:52:53 +0000"  >&lt;p&gt;Would you open a new issue for this?&lt;/p&gt;</comment>
                            <comment id="214041" author="bhoagland" created="Fri, 17 Nov 2017 18:19:20 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=sebg-crd-pm&quot; class=&quot;user-hover&quot; rel=&quot;sebg-crd-pm&quot;&gt;sebg-crd-pm&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;I&apos;m closing this ticket as your original questions have been answered. Please open a new ticket for any additional issues as John has requested in the comments.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;Brad&lt;/p&gt;</comment>
                    </comments>
                    <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|hzznwf:</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>