<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:46:16 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-11710] File is lost after migrate a sub dir under dir with default stripe</title>
                <link>https://jira.whamcloud.com/browse/LU-11710</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The file is lost after migrate a sub dir under a dir with default stripe, here are the steps&lt;br/&gt;
2 MDS with 1 MDT on each, 1 OST, 1 client&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@trevis-60vm4 ~]# cd /mnt/lustre/
[root@trevis-60vm4 lustre]# mkdir test-0
[root@trevis-60vm4 lustre]# lctl dl
  0 UP mgc MGC10.9.6.158@tcp 3637a725-753d-86b4-1ebf-fb1bdf78fb28 4
  1 UP lov lustre-clilov-ffff978f79f97000 a48ec6c3-f700-afb4-00c3-9288ece40f26 3
  2 UP lmv lustre-clilmv-ffff978f79f97000 a48ec6c3-f700-afb4-00c3-9288ece40f26 3
  3 UP mdc lustre-MDT0000-mdc-ffff978f79f97000 a48ec6c3-f700-afb4-00c3-9288ece40f26 4
  4 UP mdc lustre-MDT0001-mdc-ffff978f79f97000 a48ec6c3-f700-afb4-00c3-9288ece40f26 4
  5 UP osc lustre-OST0000-osc-ffff978f79f97000 a48ec6c3-f700-afb4-00c3-9288ece40f26 4
[root@trevis-60vm4 lustre]# mkdir test-0/test-1
[root@trevis-60vm4 lustre]# lfs setdirstripe -D -c 2 test-0/
[root@trevis-60vm4 lustre]# touch test-0/test-1/foo
[root@trevis-60vm4 lustre]# echo aaa &amp;gt; test-0/test-1/foo 
[root@trevis-60vm4 lustre]# cat test-0/test-1/foo 
aaa
[root@trevis-60vm4 lustre]# lfs migrate -m 1 test-0/test-1
[root@trevis-60vm4 lustre]# ls test-0/test-1/
[root@trevis-60vm4 lustre]# 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I also tried on master branch, it doesn&apos;t have the problem&lt;/p&gt;</description>
                <environment>lustre-b2_10 2.10.6-RC2 (build #149) ldiskfs DNE</environment>
        <key id="54138">LU-11710</key>
            <summary>File is lost after migrate a sub dir under dir with default stripe</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="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="wc-triage">WC Triage</assignee>
                                    <reporter username="sarah">Sarah Liu</reporter>
                        <labels>
                    </labels>
                <created>Wed, 28 Nov 2018 04:43:27 +0000</created>
                <updated>Fri, 21 Jan 2022 00:28:12 +0000</updated>
                            <resolved>Fri, 21 Jan 2022 00:28:12 +0000</resolved>
                                    <version>Lustre 2.10.6</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="237764" author="adilger" created="Fri, 30 Nov 2018 18:52:58 +0000"  >&lt;p&gt;Sarah, does this problem still happen if the &quot;&lt;tt&gt;lfs setdirstripe&lt;/tt&gt;&quot; is not run on &lt;tt&gt;test-0/&lt;/tt&gt;?  We don&apos;t support restriping directories in 2.10, that was added by Lai in 2.12 only.  The &quot;&lt;tt&gt;lfs migrate&lt;/tt&gt;&quot; command shouldn&apos;t be using the default striping from the parent directory, since the &lt;tt&gt;test-1/&lt;/tt&gt; directory already exists.  If &lt;tt&gt;lfs migrate&lt;/tt&gt; is somehow using the default layout from the parent, then this is a bug and we should not allow migrating to a striped directory.&lt;/p&gt;</comment>
                            <comment id="237956" author="sarah" created="Wed, 5 Dec 2018 00:21:11 +0000"  >&lt;p&gt;Without the &quot;lfs setdirstripe&quot;, the problem should gone, I tested dir(without striped) migration long time ago and it worked fine. &lt;/p&gt;</comment>
                            <comment id="237960" author="adilger" created="Wed, 5 Dec 2018 02:32:54 +0000"  >&lt;p&gt;What this means is that we need to prevent &quot;&lt;tt&gt;lfs migrate&lt;/tt&gt;&quot; from running on a striped directory in 2.10.&lt;/p&gt;</comment>
                            <comment id="323398" author="adilger" created="Fri, 21 Jan 2022 00:28:12 +0000"  >&lt;p&gt;It looks like this is no longer a problem with 2.12.&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|i00727:</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>