<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:26:54 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-16423] &apos;lfs migrate&apos; is creating multiple sets of objects</title>
                <link>https://jira.whamcloud.com/browse/LU-16423</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When running &quot;&lt;tt&gt;lfs migrate&lt;/tt&gt;&quot; on a PFL file, it appears that the client/MDS are needlessly creating multiple sets of OST objects:&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 setstripe -E 1M -c 1 -E 16M -c 4 -E eof -c -1 /mnt/testfs/pfl
# fallocate -L 4M /mnt/testfs/pfl
# lfs getstripe /mnt/testfs/pfl | grep l_ost_idx
      - 0: { l_ost_idx: 0, l_fid: [0x100000000:0xed5:0x0] }
      - 0: { l_ost_idx: 3, l_fid: [0x100030000:0x653:0x0] }
      - 1: { l_ost_idx: 1, l_fid: [0x100010000:0xb93:0x0] }
      - 2: { l_ost_idx: 2, l_fid: [0x100020000:0x62c:0x0] }
      - 3: { l_ost_idx: 0, l_fid: [0x100000000:0xed7:0x0] }
# lfs migrate /mnt/testfs/pfl
# lfs getstripe /mnt/testfs/pfl | grep l_ost_idx
      - 0: { l_ost_idx: 0, l_fid: [0x100000000:0xed8:0x0] }
      - 0: { l_ost_idx: 3, l_fid: [0x100030000:0x655:0x0] }
      - 1: { l_ost_idx: 1, l_fid: [0x100010000:0xb95:0x0] }
      - 2: { l_ost_idx: 2, l_fid: [0x100020000:0x62e:0x0] }
      - 3: { l_ost_idx: 0, l_fid: [0x100000000:0xeda:0x0] }
# lfs migrate /mnt/testfs/pfl
# lfs getstripe /mnt/testfs/pfl | grep l_ost_idx
      - 0: { l_ost_idx: 0, l_fid: [0x100000000:0xedb:0x0] }
      - 0: { l_ost_idx: 3, l_fid: [0x100030000:0x657:0x0] }
      - 1: { l_ost_idx: 1, l_fid: [0x100010000:0xb97:0x0] }
      - 2: { l_ost_idx: 2, l_fid: [0x100020000:0x630:0x0] }
      - 3: { l_ost_idx: 0, l_fid: [0x100000000:0xedd:0x0] }
# lfs migrate /mnt/testfs/pfl
# lfs getstripe /mnt/testfs/pfl | grep l_ost_idx
      - 0: { l_ost_idx: 0, l_fid: [0x100000000:0xede:0x0] }
      - 0: { l_ost_idx: 3, l_fid: [0x100030000:0x659:0x0] }
      - 1: { l_ost_idx: 1, l_fid: [0x100010000:0xb99:0x0] }
      - 2: { l_ost_idx: 2, l_fid: [0x100020000:0x632:0x0] }
      - 3: { l_ost_idx: 0, l_fid: [0x100000000:0xee0:0x0] }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;As can be seen from the above, each &quot;&lt;tt&gt;lfs migrate&lt;/tt&gt;&quot; command increments most OST FIDs by two, and OST0000 by three (because it has two separate objects for this file).  The filesystem has 4 OSTs.&lt;/p&gt;</description>
                <environment></environment>
        <key id="73721">LU-16423</key>
            <summary>&apos;lfs migrate&apos; is creating multiple sets of objects</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="6">Not a Bug</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 22 Dec 2022 00:50:05 +0000</created>
                <updated>Sat, 21 Jan 2023 00:17:54 +0000</updated>
                            <resolved>Sat, 21 Jan 2023 00:17:54 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="359931" author="adilger" created="Sat, 21 Jan 2023 00:17:54 +0000"  >&lt;p&gt;I tested this again on master with both &quot;lfs migrate&quot; and &quot;lfs_migrate&quot; and wasn&apos;t able to reproduce it.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </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|i038jb:</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>