<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:47:49 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-5017] &quot;lfs mv&quot; loses file attributes during migration</title>
                <link>https://jira.whamcloud.com/browse/LU-5017</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Migrating a directory tree using &quot;lfs mv&quot; drops the file attributes stored on both files and directories.&lt;/p&gt;

&lt;p&gt;For example, setting the &quot;noatime&quot; attribute on a directory and a file therein, and then migrating the directory to another MDT clears this flag:&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@sookie-gig tests]# lsattr -a /mnt/testfs/d0.new
---------------- /mnt/testfs/d0.new/.
---------------- /mnt/testfs/d0.new/..
---------------- /mnt/testfs/d0.new/f0.new
[root@sookie-gig tests]# chattr +SAD /mnt/testfs/d0.new /mnt/testfs/d0.new/f0.new
[root@sookie-gig tests]# lsattr -a /mnt/testfs/d0.new
--SD---A-------- /mnt/testfs/d0.new/.
---------------- /mnt/testfs/d0.new/..
--S----A-------- /mnt/testfs/d0.new/f0.new
[root@sookie-gig tests]# lfs mv -M 1 /mnt/testfs/d0.new
[root@sookie-gig tests]# lsattr -a /mnt/testfs/d0.new
---------------- /mnt/testfs/d0.new/f0.new
---------------- /mnt/testfs/d0.new/.
---------------- /mnt/testfs/d0.new/..
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Fortunately, the IMMUTABLE and APPEND flags cannot be lost in this manner because the MDS blocks files/directories with these attributes from being migrated, so this only affects secondary attributes (noatime, sync write, dirsync).&lt;/p&gt;</description>
                <environment></environment>
        <key id="24592">LU-5017</key>
            <summary>&quot;lfs mv&quot; loses file attributes during migration</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="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="di.wang">Di Wang</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>dne2</label>
                    </labels>
                <created>Tue, 6 May 2014 20:30:36 +0000</created>
                <updated>Wed, 16 Mar 2016 05:14:03 +0000</updated>
                            <resolved>Thu, 8 May 2014 07:11:36 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="83355" author="adilger" created="Tue, 6 May 2014 20:31:42 +0000"  >&lt;p&gt;I&apos;m not sure if this is the same as &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5016&quot; title=&quot;clean up use of la_attr for non-attribute flags&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5016&quot;&gt;&lt;del&gt;LU-5016&lt;/del&gt;&lt;/a&gt;, or if the &quot;lfs mv&quot; code just isn&apos;t trying to copy the file attributes at all.&lt;/p&gt;</comment>
                            <comment id="83367" author="di.wang" created="Tue, 6 May 2014 21:45:48 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/10240&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10240&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="83480" author="di.wang" created="Thu, 8 May 2014 07:11:36 +0000"  >&lt;p&gt;The patch has been landed to master&lt;/p&gt;</comment>
                            <comment id="137886" author="gerrit" created="Tue, 5 Jan 2016 00:49:35 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/10274/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10274/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5017&quot; title=&quot;&amp;quot;lfs mv&amp;quot; loses file attributes during migration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5017&quot;&gt;&lt;del&gt;LU-5017&lt;/del&gt;&lt;/a&gt; idl: clean up file attribute flags&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 26fae8692eed9998aa0286749a068b67279e7163&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="24589">LU-5016</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hzwlyn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13886</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>