<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:00:05 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-13298] lfs migrate -m &quot;migrate failed: Operation not supported (-95)&quot; on DoM files</title>
                <link>https://jira.whamcloud.com/browse/LU-13298</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;During a &lt;tt&gt;lfs migrate -m&lt;/tt&gt;&#160;from MDT0002 to MDT0003 of a full directory, we can see a bunch of errors -95:&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;lfs migrate -m 3 /fir/users/apatel6
...
/fir/users/apatel6/data/600_N_dec_carbons/08-EXX-sensitivity/02-MN4graphene/00-PBE-noNUPDOWN/05-OOH/07-Pd/spincheck/03/01-EXX-10/INCAR migrate failed: Operation not supported (-95)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;It seems to be a regular file:&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;# stat /fir/users/apatel6/data/600_N_dec_carbons/08-EXX-sensitivity/02-MN4graphene/00-PBE-noNUPDOWN/05-OOH/07-Pd/spincheck/03/01-EXX-10/INCAR
  File: &#8216;/fir/users/apatel6/data/600_N_dec_carbons/08-EXX-sensitivity/02-MN4graphene/00-PBE-noNUPDOWN/05-OOH/07-Pd/spincheck/03/01-EXX-10/INCAR&#8217;
  Size: 708       	Blocks: 8          IO Block: 4194304 regular file
Device: e64e03a8h/3863872424d	Inode: 198161414156736433  Links: 1
Access: (0644/-rw-r--r--)  Uid: (298250/ apatel6)   Gid: (32269/ norskov)
Access: 2020-01-17 14:32:11.000000000 -0800
Modify: 2019-08-24 15:41:31.000000000 -0700
Change: 2019-08-24 15:41:31.000000000 -0700
 Birth: -
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;on a regular directory:&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;# stat /fir/users/apatel6/data/600_N_dec_carbons/08-EXX-sensitivity/02-MN4graphene/00-PBE-noNUPDOWN/05-OOH/07-Pd/spincheck/03/01-EXX-10
&#160; File: &#8216;/fir/users/apatel6/data/600_N_dec_carbons/08-EXX-sensitivity/02-MN4graphene/00-PBE-noNUPDOWN/05-OOH/07-Pd/spincheck/03/01-EXX-10&#8217;
&#160; Size: 8192&#160; &#160; &#160; 	Blocks: 16 &#160; &#160; &#160; &#160; IO Block: 4096 &#160; directory
Device: e64e03a8h/3863872424d	Inode: 180147914721584182&#160; Links: 2
Access: (0755/drwxr-xr-x)&#160; Uid: (298250/ apatel6) &#160; Gid: (32269/ norskov)
Access: 2020-02-26 08:32:37.000000000 -0800
Modify: 2019-08-24 19:16:56.000000000 -0700
Change: 2019-08-24 19:16:56.000000000 -0700
 Birth: - &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;so we&apos;re wondering why...&lt;/p&gt;

&lt;p&gt;Checking the file&apos;s parent directory shows that it has been flagged for migration:&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;# lfs getdirstripe /fir/users/apatel6/data/600_N_dec_carbons/08-EXX-sensitivity/02-MN4graphene/00-PBE-noNUPDOWN/05-OOH/07-Pd/spincheck/03/01-EXX-10
lmv_stripe_count: 2 lmv_stripe_offset: 3 lmv_hash_type: fnv_1a_64,migrating
mdtidx		 FID[seq:oid:ver]
     3		 [0x280038894:0xf2d0:0x0]		
     2		 [0x2c002cafe:0xf400:0x0]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The parent of the parent too:&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;# lfs getdirstripe /fir/users/apatel6/data/600_N_dec_carbons/08-EXX-sensitivity/02-MN4graphene/00-PBE-noNUPDOWN/05-OOH/07-Pd/spincheck/03
lmv_stripe_count: 2 lmv_stripe_offset: 3 lmv_hash_type: fnv_1a_64,migrating
mdtidx		 FID[seq:oid:ver]
     3		 [0x280038894:0xf2cd:0x0]		
     2		 [0x2c002cafe:0xd455:0x0]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;But the parent of the parent of the parent is already done (is that normal?):&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;# lfs getdirstripe /fir/users/apatel6/data/600_N_dec_carbons/08-EXX-sensitivity/02-MN4graphene/00-PBE-noNUPDOWN/05-OOH/07-Pd/spincheck
lmv_stripe_count: 0 lmv_stripe_offset: 3 lmv_hash_type: none
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;We have 4 MDTs on this filesystem. We haven&apos;t upgraded to 2.12.4 yet but it is planned within the next month.&lt;/p&gt;</description>
                <environment>CentOS 7.6</environment>
        <key id="58191">LU-13298</key>
            <summary>lfs migrate -m &quot;migrate failed: Operation not supported (-95)&quot; on DoM files</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="3">Duplicate</resolution>
                                        <assignee username="laisiyao">Lai Siyao</assignee>
                                    <reporter username="sthiell">Stephane Thiell</reporter>
                        <labels>
                    </labels>
                <created>Wed, 26 Feb 2020 16:44:04 +0000</created>
                <updated>Wed, 4 Oct 2023 18:26:01 +0000</updated>
                            <resolved>Fri, 6 Jan 2023 18:59:18 +0000</resolved>
                                    <version>Lustre 2.12.3</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="264128" author="laisiyao" created="Thu, 27 Feb 2020 02:59:48 +0000"  >&lt;p&gt;Do you enable DoM? Currently DoM file migration is not supported yet. If so, then it&apos;s normal some subdirectories are not fully migrated.&lt;/p&gt;

&lt;p&gt;Directory migration can be run again upon failure, and in you case you can run &apos;lfs migrate -m 3 /fir/users/apatel6/data/600_N_dec_carbons/08-EXX-sensitivity/02-MN4graphene/00-PBE-noNUPDOWN/05-OOH/07-Pd/spincheck/03&apos;.&lt;/p&gt;

&lt;p&gt;Directory in &apos;migrating&apos; status can still be accessed.&lt;/p&gt;</comment>
                            <comment id="264176" author="sthiell" created="Thu, 27 Feb 2020 16:37:14 +0000"  >&lt;p&gt;Hi Lai,&lt;br/&gt;
Thanks for the quick reply. Yes, we used to have DoM by default on this filesystem and so millions of files have a DoM components (but we do not use DoM by default anymore due to performance issues with shared files). Thanks I totally forgot about file migration not being supported yet with DoM files. Indeed, this specific file has a DoM component:&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;# lfs getstripe /fir/users/apatel6/data/600_N_dec_carbons/08-EXX-sensitivity/02-MN4graphene/00-PBE-noNUPDOWN/05-OOH/07-Pd/spincheck/03/01-EXX-10/INCAR
/fir/users/apatel6/data/600_N_dec_carbons/08-EXX-sensitivity/02-MN4graphene/00-PBE-noNUPDOWN/05-OOH/07-Pd/spincheck/03/01-EXX-10/INCAR
  lcm_layout_gen:    6
  lcm_mirror_count:  1
  lcm_entry_count:   6
    lcme_id:             1
    lcme_mirror_id:      0
    lcme_flags:          init
    lcme_extent.e_start: 0
    lcme_extent.e_end:   131072
      lmm_stripe_count:  0
      lmm_stripe_size:   131072
      lmm_pattern:       mdt
      lmm_layout_gen:    0
      lmm_stripe_offset: 0

    lcme_id:             2
    lcme_mirror_id:      0
    lcme_flags:          0
    lcme_extent.e_start: 131072
    lcme_extent.e_end:   16777216
      lmm_stripe_count:  1
      lmm_stripe_size:   4194304
      lmm_pattern:       raid0
      lmm_layout_gen:    0
      lmm_stripe_offset: -1

    lcme_id:             3
    lcme_mirror_id:      0
    lcme_flags:          0
    lcme_extent.e_start: 16777216
    lcme_extent.e_end:   1073741824
      lmm_stripe_count:  2
      lmm_stripe_size:   4194304
      lmm_pattern:       raid0
      lmm_layout_gen:    0
      lmm_stripe_offset: -1

    lcme_id:             4
    lcme_mirror_id:      0
    lcme_flags:          0
    lcme_extent.e_start: 1073741824
    lcme_extent.e_end:   34359738368
      lmm_stripe_count:  4
      lmm_stripe_size:   4194304
      lmm_pattern:       raid0
      lmm_layout_gen:    0
      lmm_stripe_offset: -1

    lcme_id:             5
    lcme_mirror_id:      0
    lcme_flags:          0
    lcme_extent.e_start: 34359738368
    lcme_extent.e_end:   274877906944
      lmm_stripe_count:  8
      lmm_stripe_size:   4194304
      lmm_pattern:       raid0
      lmm_layout_gen:    0
      lmm_stripe_offset: -1

    lcme_id:             6
    lcme_mirror_id:      0
    lcme_flags:          0
    lcme_extent.e_start: 274877906944
    lcme_extent.e_end:   EOF
      lmm_stripe_count:  16
      lmm_stripe_size:   4194304
      lmm_pattern:       raid0
      lmm_layout_gen:    0
      lmm_stripe_offset: -1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;We&apos;ll see what we can do with these files and then I&apos;ll run lfs migrate again.&lt;/p&gt;</comment>
                            <comment id="264273" author="sthiell" created="Fri, 28 Feb 2020 19:11:32 +0000"  >&lt;p&gt;To work around this issue, we have been able to restripe DoM files using &lt;tt&gt;lfs migrate -c 1&lt;/tt&gt; and then migrate the directory to another MDT with no error anymore.&lt;/p&gt;</comment>
                            <comment id="358167" author="adilger" created="Fri, 6 Jan 2023 18:59:18 +0000"  >&lt;p&gt;Close this issue and track the issue with &quot;&lt;tt&gt;lfs migrate -m&lt;/tt&gt;&quot; on DoM files under &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13691&quot; title=&quot;Allow for lfs migrate between MDTs to include DOM&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13691&quot;&gt;LU-13691&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="58964">LU-13492</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="59618">LU-13691</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|i00udr:</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>