<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:40:29 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-131] ACLs and extended attributes not preserved on MDS move</title>
                <link>https://jira.whamcloud.com/browse/LUDOC-131</link>
                <project id="10070" key="LUDOC">Lustre Documentation</project>
                    <description>
&lt;p&gt;On 23/03/13 15:59, Christopher J. Walker wrote:&lt;br/&gt;
&amp;gt; I have moved the metadata server on a lustre 1.8 filesystem  (previously&lt;br/&gt;
&amp;gt; upgraded from 1.6) to new hardware.&lt;br/&gt;
&amp;gt;&lt;br/&gt;
&amp;gt; The posix acls and extended user attributes don&apos;t seem to have been&lt;br/&gt;
&amp;gt; preserved.&lt;br/&gt;
&amp;gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;snip&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;gt;&lt;br/&gt;
&amp;gt; What I did was:&lt;br/&gt;
&amp;gt;&lt;br/&gt;
&amp;gt; # On old server&lt;br/&gt;
&amp;gt; mount -t ldiskfs /dev/sdb /mnt/mgs&lt;/p&gt;

&lt;p&gt;The problem is the following:&lt;/p&gt;

&lt;p&gt;Although that&apos;s what is documented in the Lustre 1.8 manual, it seems I should have done is:&lt;/p&gt;

&lt;p&gt;mount  -t ldiskfs -o user_xattr -o acl /dev/sdb /mnt/mgs&lt;/p&gt;

&lt;p&gt;to preserve  the extended attributes and acls.&lt;/p&gt;

&lt;p&gt;&amp;gt; cd /mnt/mgs&lt;br/&gt;
&amp;gt; getfattr -R -d -m &apos;.*&apos; -P .&lt;/p&gt;

&lt;p&gt;To get out of this, I&apos;ve done the following on the old MDS&lt;/p&gt;

&lt;p&gt;getfattr -R -d  -P . &amp;gt;aclfile&lt;/p&gt;

&lt;p&gt;and then setfattr --restore=aclfile&lt;/p&gt;

&lt;p&gt;and similarly with the acls.&lt;/p&gt;


&lt;p&gt;Chris &lt;/p&gt;</description>
                <environment>Lustre 1.8.8-wc1 moving to Lustre 1.8.9-wc1</environment>
        <key id="18068">LUDOC-131</key>
            <summary>ACLs and extended attributes not preserved on MDS move</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="LM-Triage">Lustre Manual Triage</assignee>
                                    <reporter username="walker">Christopher J. Walker</reporter>
                        <labels>
                    </labels>
                <created>Mon, 25 Mar 2013 01:34:53 +0000</created>
                <updated>Sat, 11 Mar 2017 10:12:59 +0000</updated>
                            <resolved>Sat, 11 Mar 2017 10:12:59 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="187951" author="adilger" created="Sat, 11 Mar 2017 10:12:59 +0000"  >&lt;p&gt;All modern ext4/ldiskfs filesystems will mount with &quot;-o user_xattr,acl&quot; enabled by default, and these options have been removed from 3.3+ kernels so I don&apos;t think this is needed anymore.&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|hzvm0f:</customfieldvalue>

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