<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:37:25 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-3846] Sanity 56u error with two OSTs</title>
                <link>https://jira.whamcloud.com/browse/LU-3846</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;We ran sanity tests with 2 OSTs and got following errors.&lt;/p&gt;

&lt;p&gt;== sanity test 56u: check lfs find -stripe-index works == 08:53:30 (1377824010)&lt;br/&gt;
 sanity test_56u: @@@@@@ FAIL: &quot;lfs find -stripe-index 0 -type f /mnt/lustre/d0.sanity/d56u&quot; wrong: found 16, expected 12 &lt;/p&gt;

&lt;p&gt;We found that the newly created files located on two OSTs rather than one. This might happen when the default stripe of mount point is two. So I think when creating the file, &apos;lfs setstripe -i 1&apos; might not be enough, &apos;-c 1&apos; should be added too.&lt;/p&gt;

&lt;p&gt;I will push the patch soon.&lt;/p&gt;</description>
                <environment></environment>
        <key id="20655">LU-3846</key>
            <summary>Sanity 56u error with two OSTs</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="1">Fixed</resolution>
                                        <assignee username="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="lixi">Li Xi</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Wed, 28 Aug 2013 13:07:33 +0000</created>
                <updated>Sun, 14 Jan 2018 15:40:16 +0000</updated>
                            <resolved>Sun, 14 Jan 2018 15:40:16 +0000</resolved>
                                                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>1</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="65238" author="lixi" created="Wed, 28 Aug 2013 13:15:04 +0000"  >&lt;p&gt;Here is the patch.&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/7479&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7479&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="65321" author="pjones" created="Wed, 28 Aug 2013 22:20:57 +0000"  >&lt;p&gt;Emoly&lt;/p&gt;

&lt;p&gt;Could you please take care of this patch?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="66066" author="emoly.liu" created="Mon, 9 Sep 2013 15:44:31 +0000"  >&lt;p&gt;Do you mean the default stripe count of mount point is two?&lt;/p&gt;</comment>
                            <comment id="66142" author="lixi" created="Tue, 10 Sep 2013 00:55:03 +0000"  >&lt;p&gt;Sorry, that is a mistake. I found the default stripe count of mount point is -1, not 2. Here is the stripe informantion after running the test suit. Somehow, the new files were created with 2 stripe_count rather than 1 when the directory stripe count was -1. I thought the new file should have stripe count of 1 as the right behavior, am I wrong?&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@vm1 ~&amp;#93;&lt;/span&gt;# lfs getstripe /mnt/lustre/&lt;br/&gt;
/mnt/lustre/&lt;br/&gt;
stripe_count:   -1 stripe_size:    1048576 stripe_offset:  -1 &lt;br/&gt;
/mnt/lustre//d0.sanity&lt;br/&gt;
stripe_count:   -1 stripe_size:    1048576 stripe_offset:  -1 &lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@vm1 ~&amp;#93;&lt;/span&gt;# lfs getstripe /mnt/lustre/d0.sanity/&lt;br/&gt;
/mnt/lustre/d0.sanity/&lt;br/&gt;
stripe_count:   -1 stripe_size:    1048576 stripe_offset:  -1 &lt;br/&gt;
/mnt/lustre/d0.sanity//d56u&lt;br/&gt;
stripe_count:   -1 stripe_size:    1048576 stripe_offset:  0 &lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@vm1 ~&amp;#93;&lt;/span&gt;# lfs getstripe /mnt/lustre/d0.sanity/d56u/&lt;br/&gt;
/mnt/lustre/d0.sanity/d56u/&lt;br/&gt;
stripe_count:   -1 stripe_size:    1048576 stripe_offset:  0 &lt;br/&gt;
/mnt/lustre/d0.sanity/d56u//f.sanity.56u.0&lt;br/&gt;
lmm_stripe_count:   2&lt;br/&gt;
lmm_stripe_size:    1048576&lt;br/&gt;
lmm_pattern:        1&lt;br/&gt;
lmm_layout_gen:     0&lt;br/&gt;
lmm_stripe_offset:  1&lt;br/&gt;
        obdidx           objid           objid           group&lt;br/&gt;
             1              15            0xf                0&lt;br/&gt;
             0              15            0xf                0&lt;/p&gt;

&lt;p&gt;/mnt/lustre/d0.sanity/d56u//file2&lt;br/&gt;
lmm_stripe_count:   2&lt;br/&gt;
lmm_stripe_size:    1048576&lt;br/&gt;
lmm_pattern:        1&lt;br/&gt;
lmm_layout_gen:     0&lt;br/&gt;
lmm_stripe_offset:  0&lt;br/&gt;
        obdidx           objid           objid           group&lt;br/&gt;
             0               4            0x4                0&lt;br/&gt;
             1               4            0x4                0&lt;/p&gt;

&lt;p&gt;/mnt/lustre/d0.sanity/d56u//f.sanity.56u.2&lt;br/&gt;
lmm_stripe_count:   2&lt;br/&gt;
lmm_stripe_size:    1048576&lt;br/&gt;
lmm_pattern:        1&lt;br/&gt;
lmm_layout_gen:     0&lt;br/&gt;
lmm_stripe_offset:  1&lt;br/&gt;
        obdidx           objid           objid           group&lt;br/&gt;
             1              17           0x11                0&lt;br/&gt;
             0              17           0x11                0&lt;/p&gt;

&lt;p&gt;/mnt/lustre/d0.sanity/d56u//dir1&lt;br/&gt;
stripe_count:   -1 stripe_size:    1048576 stripe_offset:  0 pool:            &lt;br/&gt;
/mnt/lustre/d0.sanity/d56u//dir3&lt;br/&gt;
stripe_count:   -1 stripe_size:    1048576 stripe_offset:  0 pool:            &lt;br/&gt;
/mnt/lustre/d0.sanity/d56u//f.sanity.56u.3&lt;br/&gt;
lmm_stripe_count:   2&lt;br/&gt;
lmm_stripe_size:    1048576&lt;br/&gt;
lmm_pattern:        1&lt;br/&gt;
lmm_layout_gen:     0&lt;br/&gt;
lmm_stripe_offset:  1&lt;br/&gt;
        obdidx           objid           objid           group&lt;br/&gt;
             1              18           0x12                0&lt;br/&gt;
             0              18           0x12                0&lt;/p&gt;

&lt;p&gt;/mnt/lustre/d0.sanity/d56u//dir2&lt;br/&gt;
stripe_count:   -1 stripe_size:    1048576 stripe_offset:  0 pool:            &lt;br/&gt;
/mnt/lustre/d0.sanity/d56u//file1&lt;br/&gt;
lmm_stripe_count:   2&lt;br/&gt;
lmm_stripe_size:    1048576&lt;br/&gt;
lmm_pattern:        1&lt;br/&gt;
lmm_layout_gen:     0&lt;br/&gt;
lmm_stripe_offset:  0&lt;br/&gt;
        obdidx           objid           objid           group&lt;br/&gt;
             0               3            0x3                0&lt;br/&gt;
             1               3            0x3                0&lt;/p&gt;

&lt;p&gt;/mnt/lustre/d0.sanity/d56u//f.sanity.56u.1&lt;br/&gt;
lmm_stripe_count:   2&lt;br/&gt;
lmm_stripe_size:    1048576&lt;br/&gt;
lmm_pattern:        1&lt;br/&gt;
lmm_layout_gen:     0&lt;br/&gt;
lmm_stripe_offset:  1&lt;br/&gt;
        obdidx           objid           objid           group&lt;br/&gt;
             1              16           0x10                0&lt;br/&gt;
             0              16           0x10                0&lt;/p&gt;

&lt;p&gt;/mnt/lustre/d0.sanity/d56u//file3&lt;br/&gt;
lmm_stripe_count:   2&lt;br/&gt;
lmm_stripe_size:    1048576&lt;br/&gt;
lmm_pattern:        1&lt;br/&gt;
lmm_layout_gen:     0&lt;br/&gt;
lmm_stripe_offset:  0&lt;br/&gt;
        obdidx           objid           objid           group&lt;br/&gt;
             0               5            0x5                0&lt;br/&gt;
             1               5            0x5                0&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@vm1 ~&amp;#93;&lt;/span&gt;# lfs getstripe /mnt/lustre/d0.sanity/d56u/dir1/&lt;br/&gt;
/mnt/lustre/d0.sanity/d56u/dir1/&lt;br/&gt;
stripe_count:   -1 stripe_size:    1048576 stripe_offset:  0 pool:            &lt;br/&gt;
/mnt/lustre/d0.sanity/d56u/dir1//file1&lt;br/&gt;
lmm_stripe_count:   2&lt;br/&gt;
lmm_stripe_size:    1048576&lt;br/&gt;
lmm_pattern:        1&lt;br/&gt;
lmm_layout_gen:     0&lt;br/&gt;
lmm_stripe_offset:  0&lt;br/&gt;
        obdidx           objid           objid           group&lt;br/&gt;
             0               6            0x6                0&lt;br/&gt;
             1               6            0x6                0&lt;/p&gt;

&lt;p&gt;/mnt/lustre/d0.sanity/d56u/dir1//file3&lt;br/&gt;
lmm_stripe_count:   2&lt;br/&gt;
lmm_stripe_size:    1048576&lt;br/&gt;
lmm_pattern:        1&lt;br/&gt;
lmm_layout_gen:     0&lt;br/&gt;
lmm_stripe_offset:  0&lt;br/&gt;
        obdidx           objid           objid           group&lt;br/&gt;
             0               8            0x8                0&lt;br/&gt;
             1               8            0x8                0&lt;/p&gt;

&lt;p&gt;/mnt/lustre/d0.sanity/d56u/dir1//file2&lt;br/&gt;
lmm_stripe_count:   2&lt;br/&gt;
lmm_stripe_size:    1048576&lt;br/&gt;
lmm_pattern:        1&lt;br/&gt;
lmm_layout_gen:     0&lt;br/&gt;
lmm_stripe_offset:  0&lt;br/&gt;
        obdidx           objid           objid           group&lt;br/&gt;
             0               7            0x7                0&lt;br/&gt;
             1               7            0x7                0&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@vm1 ~&amp;#93;&lt;/span&gt;# lfs getstripe /mnt/lustre/d0.sanity/d56u/dir2/&lt;br/&gt;
/mnt/lustre/d0.sanity/d56u/dir2/&lt;br/&gt;
stripe_count:   -1 stripe_size:    1048576 stripe_offset:  0 pool:            &lt;br/&gt;
/mnt/lustre/d0.sanity/d56u/dir2//file1&lt;br/&gt;
lmm_stripe_count:   2&lt;br/&gt;
lmm_stripe_size:    1048576&lt;br/&gt;
lmm_pattern:        1&lt;br/&gt;
lmm_layout_gen:     0&lt;br/&gt;
lmm_stripe_offset:  0&lt;br/&gt;
        obdidx           objid           objid           group&lt;br/&gt;
             0               9            0x9                0&lt;br/&gt;
             1               9            0x9                0&lt;/p&gt;

&lt;p&gt;/mnt/lustre/d0.sanity/d56u/dir2//file3&lt;br/&gt;
lmm_stripe_count:   2&lt;br/&gt;
lmm_stripe_size:    1048576&lt;br/&gt;
lmm_pattern:        1&lt;br/&gt;
lmm_layout_gen:     0&lt;br/&gt;
lmm_stripe_offset:  0&lt;br/&gt;
        obdidx           objid           objid           group&lt;br/&gt;
             0              11            0xb                0&lt;br/&gt;
             1              11            0xb                0&lt;/p&gt;

&lt;p&gt;/mnt/lustre/d0.sanity/d56u/dir2//file2&lt;br/&gt;
lmm_stripe_count:   2&lt;br/&gt;
lmm_stripe_size:    1048576&lt;br/&gt;
lmm_pattern:        1&lt;br/&gt;
lmm_layout_gen:     0&lt;br/&gt;
lmm_stripe_offset:  0&lt;br/&gt;
        obdidx           objid           objid           group&lt;br/&gt;
             0              10            0xa                0&lt;br/&gt;
             1              10            0xa                0&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@vm1 ~&amp;#93;&lt;/span&gt;# lfs getstripe /mnt/lustre/d0.sanity/d56u/dir3/&lt;br/&gt;
/mnt/lustre/d0.sanity/d56u/dir3/&lt;br/&gt;
stripe_count:   -1 stripe_size:    1048576 stripe_offset:  0 pool:            &lt;br/&gt;
/mnt/lustre/d0.sanity/d56u/dir3//file1&lt;br/&gt;
lmm_stripe_count:   2&lt;br/&gt;
lmm_stripe_size:    1048576&lt;br/&gt;
lmm_pattern:        1&lt;br/&gt;
lmm_layout_gen:     0&lt;br/&gt;
lmm_stripe_offset:  0&lt;br/&gt;
        obdidx           objid           objid           group&lt;br/&gt;
             0              12            0xc                0&lt;br/&gt;
             1              12            0xc                0&lt;/p&gt;

&lt;p&gt;/mnt/lustre/d0.sanity/d56u/dir3//file3&lt;br/&gt;
lmm_stripe_count:   2&lt;br/&gt;
lmm_stripe_size:    1048576&lt;br/&gt;
lmm_pattern:        1&lt;br/&gt;
lmm_layout_gen:     0&lt;br/&gt;
lmm_stripe_offset:  0&lt;br/&gt;
        obdidx           objid           objid           group&lt;br/&gt;
             0              14            0xe                0&lt;br/&gt;
             1              14            0xe                0&lt;/p&gt;

&lt;p&gt;/mnt/lustre/d0.sanity/d56u/dir3//file2&lt;br/&gt;
lmm_stripe_count:   2&lt;br/&gt;
lmm_stripe_size:    1048576&lt;br/&gt;
lmm_pattern:        1&lt;br/&gt;
lmm_layout_gen:     0&lt;br/&gt;
lmm_stripe_offset:  0&lt;br/&gt;
        obdidx           objid           objid           group&lt;br/&gt;
             0              13            0xd                0&lt;br/&gt;
             1              13            0xd                0&lt;/p&gt;</comment>
                            <comment id="66160" author="emoly.liu" created="Tue, 10 Sep 2013 08:02:23 +0000"  >&lt;p&gt;stripe_count=-1 means full striping, I guess your system has 2 OSTs, lmm_string_count of your new created files is 2.&lt;/p&gt;

&lt;p&gt;In lustre, the default stripe count should be 1, if you run &quot;setstripe -d&quot; you will see like this:&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@centos6-3 master]# ./lustre/utils/lfs getstripe -v /mnt/lustre/d
(Default) /mnt/lustre/d
stripe_count:   1 stripe_size:    1048576 stripe_offset:  -1  
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;There is a keyword &quot;Default&quot;. That is why I suggested to add &quot;setstripe -d&quot; in your patch.&lt;/p&gt;</comment>
                            <comment id="218194" author="gerrit" created="Sun, 14 Jan 2018 02:36:58 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/7479/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/7479/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3846&quot; title=&quot;Sanity 56u error with two OSTs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3846&quot;&gt;&lt;del&gt;LU-3846&lt;/del&gt;&lt;/a&gt; test: Fix sanity test_56* with different layouts&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8f39c90355f4d60698b4b59d7a49aa1a714282ac&lt;/p&gt;</comment>
                            <comment id="218215" author="pjones" created="Sun, 14 Jan 2018 15:40:16 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="20786">LU-3886</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_10490" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 10 Sep 2013 13:07:33 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzvzgn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9961</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>
                                                                                                                        <customfield id="customfield_10493" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 28 Aug 2013 13:07:33 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>